diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-02 14:36:04 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-02 14:36:04 -0700 |
commit | 0c0e1b04823e9faa479e4462c6eb958df0871b42 (patch) | |
tree | ab784c884afdcef220b6d70bdc05ed809f43387d /scripts/snmp | |
parent | c0c53152dc9cf08fdae421d9fd8441d129561ada (diff) | |
download | vyatta-cfg-quagga-0c0e1b04823e9faa479e4462c6eb958df0871b42.tar.gz vyatta-cfg-quagga-0c0e1b04823e9faa479e4462c6eb958df0871b42.zip |
Verify that a community has been defined before firing up snmpd.
Diffstat (limited to 'scripts/snmp')
-rw-r--r-- | scripts/snmp/vyatta-snmp.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl index 7e1f8e63..42988fef 100644 --- a/scripts/snmp/vyatta-snmp.pl +++ b/scripts/snmp/vyatta-snmp.pl @@ -72,7 +72,7 @@ sub snmp_get_constants { } sub snmp_get_values { - my $output; + my $output = ''; my $config = new VyattaConfig; $config->setLevel("protocols snmp community"); |