Date: Mon, 12 Sep 2005 18:15:24 GMT From: Victor Cruceru <soc-victor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 83481 for review Message-ID: <200509121815.j8CIFOa5070394@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83481 Change 83481 by soc-victor@soc-victor_82.76.158.176 on 2005/09/12 18:14:27 Removed some bogus asserts Affected files ... .. //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_tcp_udp46/tcp46_snmp.c#9 edit Differences ... ==== //depot/projects/soc2005/bsnmp/usr.sbin/bsnmpd/modules/snmp_tcp_udp46/tcp46_snmp.c#9 (text+ko) ==== @@ -1096,7 +1096,7 @@ abort(); } - assert(tcp_udp46_state_g.tcp4oids[i].index.len == 10); + switch (value->var.subs[sub - 1]) { @@ -1238,8 +1238,7 @@ abort(); } - assert(tcp_udp46_state_g.all_tcpoids[i].index.len == 12 || - tcp_udp46_state_g.all_tcpoids[i].index.len == 36); + switch (value->var.subs[sub - 1]) { @@ -1344,9 +1343,7 @@ abort(); } - assert( tcp_udp46_state_g.listen_tcpoids[i].index.len == 3 || - tcp_udp46_state_g.listen_tcpoids[i].index.len == 6 || - tcp_udp46_state_g.listen_tcpoids[i].index.len == 18); + switch (value->var.subs[sub - 1]) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509121815.j8CIFOa5070394>