Changeset 10627 for src/router/quagga/bgpd/bgp_advertise.c
- Timestamp:
- 10/27/08 13:38:07 (5 years ago)
- File:
-
- 1 edited
-
src/router/quagga/bgpd/bgp_advertise.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/quagga/bgpd/bgp_advertise.c
r10334 r10627 74 74 75 75 static int 76 baa_hash_cmp ( void *p1,void *p2)77 { 78 struct bgp_advertise_attr * baa1 = (struct bgp_advertise_attr *)p1;79 struct bgp_advertise_attr * baa2 = (struct bgp_advertise_attr *)p2;76 baa_hash_cmp (const void *p1, const void *p2) 77 { 78 const struct bgp_advertise_attr * baa1 = p1; 79 const struct bgp_advertise_attr * baa2 = p2; 80 80 81 81 return attrhash_cmp (baa1->attr, baa2->attr); … … 224 224 struct bgp_advertise *adv; 225 225 226 #ifdef DISABLE_BGP_ANNOUNCE 227 return; 228 #endif /* DISABLE_BGP_ANNOUNCE */ 226 if (DISABLE_BGP_ANNOUNCE) 227 return; 229 228 230 229 /* Look for adjacency information. */ … … 278 277 struct bgp_advertise *adv; 279 278 280 #ifdef DISABLE_BGP_ANNOUNCE 281 return; 282 #endif /* DISABLE_BGP_ANNOUNCE */ 279 if (DISABLE_BGP_ANNOUNCE) 280 return; 283 281 284 282 /* Lookup existing adjacency, if it is not there return immediately. */
Note: See TracChangeset
for help on using the changeset viewer.
