summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-14 10:03:50 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-14 14:31:55 +0100
commitf9d729ab682156cc658eb451b95d7cbd37dfa139 (patch)
tree36a02b1b690fb7f85f3a713aed7f01ca2cca35c5 /nest
parent9a883adf954c2f68085a398e8ab38bd54831cf52 (diff)
NET ROAx: add max_pxlen, fix format
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y4
1 files changed, 3 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 963393cc..06d5c363 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -55,7 +55,7 @@ CF_DECLS
CF_KEYWORDS(ROUTER, ID, PROTOCOL, TEMPLATE, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT)
CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE, STATES, ROUTES, FILTERS)
-CF_KEYWORDS(IPV4, IPV6, VPN4, VPN6)
+CF_KEYWORDS(IPV4, IPV6, VPN4, VPN6, ROA4, ROA6)
CF_KEYWORDS(RECEIVE, LIMIT, ACTION, WARN, BLOCK, RESTART, DISABLE, KEEP, FILTERED)
CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES)
CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREEXPORT, NOEXPORT, GENERATE) /* ,ROA */
@@ -137,6 +137,8 @@ table_type:
| IPV6 { $$ = NET_IP6; }
| VPN4 { $$ = NET_VPN4; }
| VPN6 { $$ = NET_VPN6; }
+ | ROA4 { $$ = NET_ROA4; }
+ | ROA6 { $$ = NET_ROA6; }
;
table_sorted: