From owner-svn-soc-all@FreeBSD.ORG Fri Aug 15 06:03:47 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 230F12FC for ; Fri, 15 Aug 2014 06:03:47 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F0FD29CA for ; Fri, 15 Aug 2014 06:03:47 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7F63kki063527 for ; Fri, 15 Aug 2014 06:03:46 GMT (envelope-from shonali@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id s7F63kKd063406 for svn-soc-all@FreeBSD.org; Fri, 15 Aug 2014 06:03:46 GMT (envelope-from shonali@FreeBSD.org) Date: Fri, 15 Aug 2014 06:03:46 GMT Message-Id: <201408150603.s7F63kKd063406@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to shonali@FreeBSD.org using -f From: shonali@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r272455 - soc2014/shonali/head/contrib/bsnmp/snmpd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2014 06:03:47 -0000 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;