mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Define BGP_PATH.
This commit is contained in:
parent
2803c9ddbe
commit
12d5677aa3
@ -15,7 +15,7 @@ CF_HDR
|
||||
CF_DECLS
|
||||
|
||||
CF_KEYWORDS(BGP, LOCAL, NEIGHBOR, AS, HOLD, TIME, CONNECT, RETRY, KEEPALIVE,
|
||||
MULTIHOP, STARTUP, VIA, NEXT, HOP, SELF)
|
||||
MULTIHOP, STARTUP, VIA, NEXT, HOP, SELF, BGP_PATH)
|
||||
|
||||
CF_GRAMMAR
|
||||
|
||||
@ -50,6 +50,8 @@ bgp_proto:
|
||||
| bgp_proto NEXT HOP SELF ';' { BGP_CFG->next_hop_self = 1; }
|
||||
;
|
||||
|
||||
CF_ADDTO(dynamic_attr, BGP_PATH { $$ = f_new_dynamic_attr(EAF_TYPE_AS_PATH, EA_CODE(EAP_BGP, BA_AS_PATH)); })
|
||||
|
||||
CF_CODE
|
||||
|
||||
CF_END
|
||||
|
Loading…
Reference in New Issue
Block a user