From 8b258e4e659cd8bacf0f7e3997d30b43561ac3e6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 21 Apr 2000 13:01:28 +0000 Subject: LOCAL_PREF is now always present and exported over all ibgp connections [draft] Allow setting of address of the local end of the TCP connection. Several bug fixes. --- proto/bgp/config.Y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/bgp/config.Y') diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index 37f90aa..36356c5 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -17,7 +17,7 @@ CF_DECLS CF_KEYWORDS(BGP, LOCAL, NEIGHBOR, AS, HOLD, TIME, CONNECT, RETRY, KEEPALIVE, MULTIHOP, STARTUP, VIA, NEXT, HOP, SELF, DEFAULT, PATH, METRIC, BGP_PATH, BGP_LOCAL_PREF, BGP_MED, BGP_ORIGIN, BGP_NEXT_HOP, - BGP_ATOMIC_AGGR, BGP_AGGREGATOR, BGP_COMMUNITY) + BGP_ATOMIC_AGGR, BGP_AGGREGATOR, BGP_COMMUNITY, SOURCE, ADDRESS) CF_GRAMMAR @@ -55,6 +55,7 @@ bgp_proto: | bgp_proto PATH METRIC NUM ';' { BGP_CFG->compare_path_lengths = $4; } | bgp_proto DEFAULT BGP_MED NUM ';' { BGP_CFG->default_med = $4; } | bgp_proto DEFAULT BGP_LOCAL_PREF NUM ';' { BGP_CFG->default_local_pref = $4; } + | bgp_proto SOURCE ADDRESS IPA ';' { BGP_CFG->source_addr = $4; } ; CF_ADDTO(dynamic_attr, BGP_PATH -- cgit v1.2.3