summaryrefslogtreecommitdiff
path: root/nest/config.Y
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2017-09-27 16:55:09 +0200
committerJan Maria Matejka <mq@ucw.cz>2017-12-08 16:27:19 +0100
commit3e52d112d714545df3cd97119824ee94c27a0606 (patch)
treee02e4ea8377b59fc93aae8a97a0ae61da49cb44e /nest/config.Y
parent517d05dff17e881b880ee4fd28a72e827c10e8c3 (diff)
Docs: Update to v2.0
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y20
1 files changed, 1 insertions, 19 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 555c9e05..432dd9c7 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -71,7 +71,7 @@ CF_KEYWORDS(RECEIVE, LIMIT, ACTION, WARN, BLOCK, RESTART, DISABLE, KEEP, FILTERE
CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES)
CF_KEYWORDS(ALGORITHM, KEYED, HMAC, MD5, SHA1, SHA256, SHA384, SHA512)
CF_KEYWORDS(PRIMARY, STATS, COUNT, BY, FOR, COMMANDS, PREEXPORT, NOEXPORT, GENERATE)
-CF_KEYWORDS(LISTEN, BGP, V6ONLY, DUAL, ADDRESS, PORT, PASSWORDS, DESCRIPTION, SORTED)
+CF_KEYWORDS(BGP, PASSWORDS, DESCRIPTION, SORTED)
CF_KEYWORDS(RELOAD, IN, OUT, MRTDUMP, MESSAGES, RESTRICT, MEMORY, IGP_METRIC, CLASS, DSCP)
CF_KEYWORDS(TIMEFORMAT, ISO, SHORT, LONG, ROUTE, PROTOCOL, BASE, LOG, S, MS, US)
CF_KEYWORDS(GRACEFUL, RESTART, WAIT, MAX, FLUSH, AS)
@@ -124,24 +124,6 @@ idval:
}
;
-
-CF_ADDTO(conf, listen)
-
-listen: LISTEN BGP listen_opts ';' ;
-
-listen_opts:
- /* Nothing */
- | listen_opts listen_opt
- ;
-
-listen_opt:
- ADDRESS ipa { new_config->listen_bgp_addr = $2; }
- | PORT expr { new_config->listen_bgp_port = $2; }
- | V6ONLY { new_config->listen_bgp_flags = 0; }
- | DUAL { new_config->listen_bgp_flags = 1; }
- ;
-
-
CF_ADDTO(conf, gr_opts)
gr_opts: GRACEFUL RESTART WAIT expr ';' { new_config->gr_wait = $4; } ;