socsvn commit: r272455 - soc2014/shonali/head/contrib/bsnmp/snmpd

shonali at FreeBSD.org shonali at FreeBSD.org
Fri Aug 15 06:03:47 UTC 2014


Author: shonali
Date: Fri Aug 15 06:03:46 2014
New Revision: 272455
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=272455

Log:
  Adding fixes for ipv6 transport
  

Modified:
  soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.c

Modified: soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.c
==============================================================================
--- soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.c	Fri Aug 15 06:02:34 2014	(r272454)
+++ soc2014/shonali/head/contrib/bsnmp/snmpd/trans_udpv6.c	Fri Aug 15 06:03:46 2014	(r272455)
@@ -379,7 +379,7 @@
 		    &value->var, sub);
 		ctx->scratch->int1 = (p != NULL);
 
-		if (which != LEAF_begemotSnmpdPortStatus)
+		if (which != LEAF_begemotSnmpdPortv6Status)
 			abort();
 		if (!TRUTH_OK(value->v.integer))
 			return (SNMP_ERR_WRONG_VALUE);
@@ -436,7 +436,7 @@
 	 */
 	switch (which) {
 
-	  case LEAF_begemotSnmpdPortStatus:
+	  case LEAF_begemotSnmpdPortv6Status:
 		value->v.integer = 1;
 		break;
 


More information about the svn-soc-all mailing list