summaryrefslogtreecommitdiff
path: root/scripts/snmp
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-14 10:54:29 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-14 10:57:44 -0700
commit6a88206597a871be376554c010730218bb71dcf9 (patch)
treed6fb3b5cf66105f36051167bf6adedfe24e6bb09 /scripts/snmp
parentebc6b3916c76ff66f46f708d15194cb28829d066 (diff)
downloadvyatta-cfg-quagga-6a88206597a871be376554c010730218bb71dcf9.tar.gz
vyatta-cfg-quagga-6a88206597a871be376554c010730218bb71dcf9.zip
Fix syntax of default listen address
Despite documentation, udp6: is not a valid listen address, need to use udp6:161
Diffstat (limited to 'scripts/snmp')
-rw-r--r--scripts/snmp/vyatta-snmp.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 1c86321b..a3be64ad 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -119,8 +119,8 @@ sub get_listen_address {
}
} else {
# default if no address specified
- @listen = ( 'udp:' );
- push @listen, 'udp6:' unless ipv6_disabled();
+ @listen = ( 'udp:161' );
+ push @listen, 'udp6:161' unless ipv6_disabled();
return @listen;
}