diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-02-16 09:00:18 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-02-16 10:24:21 -0800 |
commit | a3558769859ffc34af994aaebbedae7e7f8aee65 (patch) | |
tree | 25d51c46a8c966fab05e1efd91e931981b0cd93f /templates/service/snmp | |
parent | c333b5e4afbaef65886ba14b5e4580428ca7a495 (diff) | |
download | vyatta-cfg-quagga-a3558769859ffc34af994aaebbedae7e7f8aee65.tar.gz vyatta-cfg-quagga-a3558769859ffc34af994aaebbedae7e7f8aee65.zip |
Don't allow format strings in snmp-community
Diffstat (limited to 'templates/service/snmp')
-rw-r--r-- | templates/service/snmp/community/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/service/snmp/community/node.def b/templates/service/snmp/community/node.def index cf95bc27..32eb4800 100644 --- a/templates/service/snmp/community/node.def +++ b/templates/service/snmp/community/node.def @@ -1,3 +1,5 @@ tag: type: txt help: Set community name [REQUIRED] +syntax:expression: pattern $VAR(@) "^[^%]+$" ; \ + "Community string may not contain %" |