From a3b6ea56a0add7d0972a66d96e1fbcf5461eecdb Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Thu, 4 May 2006 07:52:12 +0000 Subject: [bgpd] bug #210: Enable crucial VPNv4 code which was disabled 2006-05-04 Paul Jakma * (general) VPNv4 fixes. Certain VPNv4 code was not enabled. See bug #210. * bgp_attr.{c,h}: (bgp_packet_{withdraw,attribute}) Tag should be u_char really. * bgp_packet.c: (bgp_{update,withdraw}_packet) Enable some VPNv4 code which inexplicably was ifdef'd out. comments from a tester on IRC suggest this fixes bug #210. --- bgpd/bgp_attr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgp_attr.h') diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h index a018256f..777869ce 100644 --- a/bgpd/bgp_attr.h +++ b/bgpd/bgp_attr.h @@ -123,10 +123,10 @@ extern struct attr *bgp_attr_aggregate_intern (struct bgp *, u_char, extern bgp_size_t bgp_packet_attribute (struct bgp *bgp, struct peer *, struct stream *, struct attr *, struct prefix *, afi_t, safi_t, - struct peer *, struct prefix_rd *, char *); + struct peer *, struct prefix_rd *, u_char *); extern bgp_size_t bgp_packet_withdraw (struct peer *peer, struct stream *s, struct prefix *p, afi_t, safi_t, - struct prefix_rd *, char *); + struct prefix_rd *, u_char *); extern void bgp_dump_routes_attr (struct stream *, struct attr *, struct prefix *); extern unsigned int attrhash_key_make (struct attr *); -- cgit v1.2.1