diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 07:58:14 -0700 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-06-12 07:58:14 -0700 | 
| commit | 3811f1e2a5d96a41d67570c5e49da19004bbc131 (patch) | |
| tree | 1f9e15e244421f8f22bc291aae7ab2da8d78fa2f /bgpd/bgp_updgrp.h | |
| parent | 43ccf9f4d008643e5043a1164d2cea09c69cc905 (diff) | |
A nexthop value specified by an outbound routemap is not being
honored correctly for EBGP peers after the introduction of the
dynamic update groups functionality. Ensure this is handled
correctly. Also, the route-map can separately set different
nexthops - IPv4, IPv6 global or IPv6 link-local; treat these
separately.
Diffstat (limited to 'bgpd/bgp_updgrp.h')
| -rw-r--r-- | bgpd/bgp_updgrp.h | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h index e2a59e324b..c34d2bc8ef 100644 --- a/bgpd/bgp_updgrp.h +++ b/bgpd/bgp_updgrp.h @@ -67,11 +67,13 @@ typedef struct    unsigned long offset;  } bpacket_attr_vec; -#define BPACKET_ATTRVEC_FLAGS_UPDATED        (1 << 0) -#define BPACKET_ATTRVEC_FLAGS_RMAP_CHANGED   (1 << 1) -#define BPACKET_ATTRVEC_FLAGS_RMAP_NH_PEER_ADDRESS   (1 << 2) -#define BPACKET_ATTRVEC_FLAGS_REFLECTED (1 << 3) -#define BPACKET_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED   (1 << 4) +#define BPKT_ATTRVEC_FLAGS_UPDATED        (1 << 0) +#define BPKT_ATTRVEC_FLAGS_RMAP_NH_PEER_ADDRESS   (1 << 1) +#define BPKT_ATTRVEC_FLAGS_REFLECTED (1 << 2) +#define BPKT_ATTRVEC_FLAGS_RMAP_NH_UNCHANGED   (1 << 3) +#define BPKT_ATTRVEC_FLAGS_RMAP_IPV4_NH_CHANGED   (1 << 4) +#define BPKT_ATTRVEC_FLAGS_RMAP_IPV6_GNH_CHANGED  (1 << 5) +#define BPKT_ATTRVEC_FLAGS_RMAP_IPV6_LNH_CHANGED  (1 << 6)  typedef struct bpacket_attr_vec_arr  {  | 
