summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-snmp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-snmp.pl b/scripts/vyatta-show-snmp.pl
index 9c8e814..979234b 100755
--- a/scripts/vyatta-show-snmp.pl
+++ b/scripts/vyatta-show-snmp.pl
@@ -30,7 +30,7 @@ sub get_community {
or return;
my $community;
while (<$cfg>) {
- next unless m/^r[ow]community (\w+)$/;
+ next unless m/^r[ow]community (\w+)/;
$community = $1;
last;
}