From: Jan Moskyto Matejka Date: Thu, 30 Mar 2017 11:52:01 +0000 (+0200) Subject: Client: multitable version of show route X-Git-Tag: v2.0.0-pre1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2faf519cf9d34f90d59081ee5f8d6976c62f4f6e;p=thirdparty%2Fbird.git Client: multitable version of show route --- diff --git a/conf/confbase.Y b/conf/confbase.Y index d6a6951f7..ce7181307 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); diff --git a/doc/bird.sgml b/doc/bird.sgml index e2e8964af..1777b8f35 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -924,11 +924,13 @@ This argument can be omitted if there exists only a single instance. Show the list of symbols defined in the configuration (names of protocols, routing tables etc.). -