I don't know why we need [' ']' there. It will not match the format for hosts_ctl() argument. I saw other patches removing it after netsnmp_tcp6(udp6)_frmaddr() call. If I change inside the function, it seems work. Yes, I DO have some concern that the reason this [' ']' is added at the first place. Are they used somewhere else?
Thanks, Fong -----Original Message----- From: Michael J. Slifcak [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 6:47 PM To: Fong Tsui Cc: [EMAIL PROTECTED] Subject: Re: Get data using Tcp6 Fong, Your patch removes the '[' ']' and port number. Why ? Fong Tsui wrote: > Attached is my fix for IPv6 address. I think it is clear and simple > way. - getting addr directly from inet_ntop() call without > manipulating it in netsnmp_tcp6(udp6)_frmaddr(). Do you see any > problem with it? This is based on v5.0.9. > > > 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