summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:49 +0200
commit316e074deb5e8f77375609545e89bf68dfd0d8fe (patch)
tree7f9a11c664ce8b0d4785ed4c6d54026e05b6b04c /bgpd/bgp_attr.h
parentOSPF silently ignores 'no ip ospf hello-interval X' and 'no ip ospf hello-int... (diff)
downloadfrr-316e074deb5e8f77375609545e89bf68dfd0d8fe.tar.xz
frr-316e074deb5e8f77375609545e89bf68dfd0d8fe.zip
bgpd: Add route-map support for set ip next-hop unchanged
In the data center, where load balancers are announced as VIPs, and eBGP is used as the routing protocol, this feature is required to ensure that VIP announcements can be made from anywhere the operator sees fit. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com> Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_attr.h')
-rw-r--r--bgpd/bgp_attr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h
index 57eca3abb..67d92b2bd 100644
--- a/bgpd/bgp_attr.h
+++ b/bgpd/bgp_attr.h
@@ -126,6 +126,7 @@ struct attr
#define BATTR_RMAP_NEXTHOP_CHANGED (1 << 0)
#define BATTR_RMAP_NEXTHOP_PEER_ADDRESS (1 << 1)
#define BATTR_REFLECTED (1 << 2)
+#define BATTR_RMAP_NEXTHOP_UNCHANGED (1 << 3)
/* Router Reflector related structure. */
struct cluster_list