diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-14 10:54:29 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-14 10:57:44 -0700 |
commit | 6a88206597a871be376554c010730218bb71dcf9 (patch) | |
tree | d6fb3b5cf66105f36051167bf6adedfe24e6bb09 /scripts/snmp | |
parent | ebc6b3916c76ff66f46f708d15194cb28829d066 (diff) | |
download | vyatta-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.pl | 4 |
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; } |