Revision: 14890 Author: adrian.chadd Date: Sun Jul 10 02:57:56 2011 Log: Fix SNMP socket setup messages
http://code.google.com/p/lusca-cache/source/detail?r=14890 Modified: /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c ======================================= --- /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c Sun Jul 10 01:04:00 2011 +++ /playpen/LUSCA_HEAD_ipv6/src/snmp_core.c Sun Jul 10 02:57:56 2011 @@ -326,8 +326,10 @@ NULL, 0); commSetSelect(theInSnmpConnection6, COMM_SELECT_READ, snmpHandleUdp, NULL, 0); - debug(1, 1) ("Accepting SNMP messages on port %d, FD %d.\n", + debug(1, 1) ("Accepting IPv4 SNMP messages on port %d, FD %d.\n", (int) port, theInSnmpConnection); + debug(1, 1) ("Accepting IPv6 SNMP messages on port %d, FD %d.\n", + (int) port, theInSnmpConnection6); if (! IsNoAddr(&Config.Addrs.snmp_outgoing)) { enter_suid(); @@ -345,7 +347,7 @@ COMM_SELECT_READ, snmpHandleUdp, NULL, 0); - debug(1, 1) ("Outgoing SNMP messages on port %d, FD %d.\n", + debug(1, 1) ("Outgoing IPv4 SNMP messages on port %d, FD %d.\n", (int) port, theOutSnmpConnection); fd_note(theOutSnmpConnection, "Outgoing SNMP socket"); fd_note(theInSnmpConnection, "Incoming SNMP socket"); @@ -369,8 +371,8 @@ COMM_SELECT_READ, snmpHandleUdp, NULL, 0); - debug(1, 1) ("Outgoing SNMP messages on port %d, FD %d.\n", - (int) port, theOutSnmpConnection); + debug(1, 1) ("Outgoing IPv6 SNMP messages on port %d, FD %d.\n", + (int) port, theOutSnmpConnection6); fd_note(theOutSnmpConnection6, "Outgoing SNMP socket"); fd_note(theInSnmpConnection6, "Incoming SNMP socket"); } else { -- You received this message because you are subscribed to the Google Groups "lusca-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/lusca-commit?hl=en.
