All pastes #196770 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-10-10 21:28 UTC
rendered paste body
Index: agent/mibgroup/kernel_sunos5.c
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/kernel_sunos5.c,v
retrieving revision 5.20
diff -u -r5.20 kernel_sunos5.c
--- agent/mibgroup/kernel_sunos5.c      10 Oct 2006 21:13:36 -0000      5.20
+++ agent/mibgroup/kernel_sunos5.c      10 Oct 2006 21:27:08 -0000
@@ -1059,7 +1059,7 @@
                 }
             }
             if (ioctl(ifsd6, SIOCGLIFFLAGS, lifrp) < 0) {
-                snmp_log(LOG_ERR, "SIOCGIFFLAGS %s: %s\n",
+                snmp_log(LOG_ERR, "SIOCGLIFFLAGS %s: %s\n",
                          lifrp->lifr_name, strerror(errno));
                 continue;
             }
@@ -1068,7 +1068,7 @@
         if_flags = lifrp->lifr_flags;

         if (ioctl(if_isv6?ifsd6:ifsd, SIOCGLIFMTU, lifrp) < 0) {
-            DEBUGMSGTL(("kernel_sunos5", "...... SIOCGIFMTU failed\n"));
+            DEBUGMSGTL(("kernel_sunos5", "...... SIOCGLIFMTU failed\n"));
             continue;
         }