On Wed, 11 Aug 2004 19:08:25 -0700 Fong wrote:
FT> snmpwalk -c public tcp6:[fe80::2e0:81ff:fe25:8097]:161  ucdavis

On Thu, 12 Aug 2004 19:15:15 -0700 Fong wrote:
FT> I don't know why we need [' ']' there.

I believe it is to allow for easier parsing. The delimiter is ':', and that
works great for host name and IPv4 addresses. However, for IPv6 addresses, it
gets messy, so the [] around IPv6 addresses makes parsing easier. They should
be removed in the code before being passed to system calls like hosts_ctl.

FT> Yes, I DO have some concern that the reason this  [' ']' is
FT> added at the first place. Are they used somewhere else?

No, I'm pretty sure once the command line has been parsed, the should be able
to be discarded


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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

Reply via email to