From 6a88206597a871be376554c010730218bb71dcf9 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 14 May 2010 10:54:29 -0700 Subject: Fix syntax of default listen address Despite documentation, udp6: is not a valid listen address, need to use udp6:161 --- scripts/snmp/vyatta-snmp.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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; } -- cgit v1.2.3