diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-03-30 13:52:01 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-04-12 16:04:22 +0200 |
commit | 2faf519cf9d34f90d59081ee5f8d6976c62f4f6e (patch) | |
tree | 7f246432dbb55377e0f9d11a8e73dbf6f6795818 /conf | |
parent | bff21441dd9b8cd526680e9977f8eceb9912ca6f (diff) |
Client: multitable version of show route
Diffstat (limited to 'conf')
-rw-r--r-- | conf/confbase.Y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index d6a6951f..ce718130 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -276,6 +276,8 @@ net_or_ipa: | net_vpn6_ { $$ = *$1; } | IP4 { net_fill_ip4(&($$), $1, IP4_MAX_PREFIX_LENGTH); } | IP6 { net_fill_ip6(&($$), $1, IP6_MAX_PREFIX_LENGTH); } + | VPN_RD IP4 { net_fill_vpn4(&($$), $2, IP4_MAX_PREFIX_LENGTH, $1); } + | VPN_RD IP6 { net_fill_vpn6(&($$), $2, IP6_MAX_PREFIX_LENGTH, $1); } | SYM { if ($1->class == (SYM_CONSTANT | T_IP)) net_fill_ip_host(&($$), SYM_VAL($1).ip); |