RE: Do pass-through scripts and snmptrap support IPv6 arguments?

Zack Little <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

 








> inet_aton only groks IPv4 addresses :). Additional logic needs to
> be added to parse out the address via inet_addr -- I would introduce
> another argument (say 'A' instead of 'a'?) for IPv6 addresses so that
> way there's a clean method for dealing with IPv4 vs IPv6 (some
> revamping will need to occur because IPv6 addresses must be
> IPV6-TC::Ipv6Address types, for instance, from what I can see etc).
> I'll see if I can whip up a patch later on tonight because I know
> this is going to be a snag for my group in a couple of months :/..
> Thanks,
> -Garrett

Garrett,
 
I forgot to mention something if you end up choosing to change snmptrap to support a new type of "A" to signify an IPv6 address.  For consistency's sake would you also change the pass-through scripts to support a new type that does the same thing?  Currently they only support an IPv4 type of "ipaddress".
 
Thanks again.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.