diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-18 13:09:03 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-18 13:09:03 -0800 |
commit | 917f5893a0d56a94a202b01eee4673f9e4b5a4b1 (patch) | |
tree | 3c66a55db3cf31b92c4571af3b5b87237d0bc718 /templates/policy | |
parent | 6fcc7325db526924cf21123a9f9ab662a64e490c (diff) | |
download | vyatta-cfg-quagga-917f5893a0d56a94a202b01eee4673f9e4b5a4b1.tar.gz vyatta-cfg-quagga-917f5893a0d56a94a202b01eee4673f9e4b5a4b1.zip |
Allow none as argument to set community
Diffstat (limited to 'templates/policy')
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def index b8dcf529..c7643436 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def @@ -7,10 +7,10 @@ comp_help: \1 <AA:NN>\t\tcommunity in 4 octet AS:value format no-advertise\tdon't advertise this route to any peer (NO_ADVERTISE) no-export\t\tdon't advertise outside of this AS of confederation boundry (NO_EXPORT) -allowed:echo "local-as no-advertise no-export internet additive" +allowed:echo "none local-AS no-advertise no-export internet additive" syntax:expression: pattern $VAR(@) "^[[:digit:]]+:[[:digit:]]+$" \ - || $VAR(@) in "local-as", "no-advertise","no-export","internet","additive" \ + || $VAR(@) in "none","local-AS","no-advertise","no-export","internet","additive" \ ; "$VAR(@): Unknown community string or attribute" commit:expression: $VAR(../../action/) != ""; \ |