diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-21 13:01:28 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-21 13:01:28 +0000 |
commit | 8b258e4e659cd8bacf0f7e3997d30b43561ac3e6 (patch) | |
tree | 55f6ff6513cc3a581af8d2b2e2f9a701c13c4034 /proto/bgp/config.Y | |
parent | 2a9e064d7b41ae6e944dd9fbcb18b89e8fda0dba (diff) |
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.
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r-- | proto/bgp/config.Y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index 37f90aaf..36356c50 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 |