I believe there are patches and a bug report in the net-snmp repository that might provide ideas that can be applied to your situation.
In other words, there may be a need to parse the '[' and the ']' more intelligently ? patch [ 942155 ] IPv6 addr_string fix patch [ 550830 ] Fixes for libwrap bug [ 555417 ] bad tcpwrapper-related typecast To get clear on where the change might be made, "printf()" can be your friend, if used judiciously. Best Regards, -Mike Slifcak > > From: "Fong Tsui" <[EMAIL PROTECTED]> > Date: 2004/08/11 Wed PM 10:08:25 EDT > To: <[EMAIL PROTECTED]> > Subject: Get data using Tcp6 > > Hi, Greeting, > > > Is the followiing command correct? I am on Linux with v5.0.9. > > snmpwalk -c public tcp6:[fe80::2e0:81ff:fe25:8097]:161 ucdavis > > I lanuch snmpd on udp6:161,tcp6:161 and netstat shows it is lisening on tcp. > However, I seem have a problem to run above command. It gives me "snmpwalk: Unknown > host (Invalid argument)". What will be the correct argument? > > snmpwalk -c public udp6:[fe80::2e0:81ff:fe25:8097]:161 ucdavis --ok > snmpwalk -c public tcp:192.168.102.235 ucdavis --ok > > Have I missed anything? > > > Thanks, > > Fong > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Net-snmp-coders mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
