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

Garrett Cooper <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAGH67wSWhfm3fnKUd3TdTh8oCja8v6VVYP=AUjVkynEMwfbeXA@mail.gmail.com>
On Fri, Jul 15, 2011 at 2:12 PM, Zack Little <[email protected]> wrote:
>
>
> ________________________________
>> 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".

I can suggest that in my diff, but I'm also a contributor to the
project -- not a committer -- so the resulting diff committed may
vary.
Thanks,
-Garrett

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