diff options
Diffstat (limited to 'tools/xml2cli.pl')
| -rwxr-xr-x | tools/xml2cli.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/xml2cli.pl b/tools/xml2cli.pl index e0980421bd..40f905bcde 100755 --- a/tools/xml2cli.pl +++ b/tools/xml2cli.pl @@ -42,6 +42,8 @@ use XML::LibXML; "ipv6" => "X:X::X:X", "ipv6m" => "X:X::X:X/M", "mtu" => "(1500-9180)", + "acl_range" => "(1-199)", + "acl_expanded_range" => "(1300-2699)", # BGP specific "rd" => "ASN:nn_or_IP-address:nn", "asn" => "(1-4294967295)", @@ -207,7 +209,7 @@ sub generate_code { } # update the command string - if ($node{'function'} ne "inherited") { + if ($node{'function'} ne "inherited" and $node{'function'}) { $function = $node{'function'}; } } |
