about netsnmp snmpudpipv6domain.c

Jack Chen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello Ladies and Gentlemen,

I have one question about this snmpUDPIPv6Domain.c file. I find this file is not so similar with the snmpUDPDomain.c.

In snmpUDPDomain.c,  there is a netsnmp_udp_recvfrom function defined and it calls recvmsg(s, &msg, 0) to receive msg, and keep a record the destination IP address.

However, in snmpUDPIPv6Domain.c,  we just use netsnmp_udp6_recv to call recvfrom (t->sock, buf, size, 0, from, &fromlen),   and didn't keep a record with the dest IP address.

My question is why the coders don't keep them similar and reword the dest IP address?

Thanks.




Best Regards

Jack Chen

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

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