diff options
author | harti <harti@FreeBSD.org> | 2004-04-14 16:20:14 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-04-14 16:20:14 +0000 |
commit | 2dce00c891322ea0439dacc8b83fa1965ba5c2dc (patch) | |
tree | 4ab07393a68643de15ecd9eb3d4baa678839c746 /contrib/bsnmp/snmp_mibII/mibII.c | |
parent | c1b6f5303fde40ed2a5a4dfd652664a790b6d77d (diff) | |
download | FreeBSD-src-2dce00c891322ea0439dacc8b83fa1965ba5c2dc.zip FreeBSD-src-2dce00c891322ea0439dacc8b83fa1965ba5c2dc.tar.gz |
Import of bsnmpd 1.6
Diffstat (limited to 'contrib/bsnmp/snmp_mibII/mibII.c')
-rw-r--r-- | contrib/bsnmp/snmp_mibII/mibII.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bsnmp/snmp_mibII/mibII.c b/contrib/bsnmp/snmp_mibII/mibII.c index ae38b6f..29b0399 100644 --- a/contrib/bsnmp/snmp_mibII/mibII.c +++ b/contrib/bsnmp/snmp_mibII/mibII.c @@ -30,7 +30,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Begemot: bsnmp/snmp_mibII/mibII.c,v 1.17 2003/12/03 10:01:19 hbb Exp $ + * $Begemot: bsnmp/snmp_mibII/mibII.c,v 1.18 2004/04/13 14:58:46 novo Exp $ * * Implementation of the standard interfaces and ip MIB. */ @@ -466,7 +466,7 @@ get_physaddr(struct mibif *ifp, struct sockaddr_dl *sdl, u_char *ptr) if (sdl->sdl_alen == 0) { /* no address */ - if (ifp->physaddrlen != NULL) { + if (ifp->physaddrlen != 0) { if ((rcv = mib_find_rcvaddr(ifp->index, ifp->physaddr, ifp->physaddrlen)) != NULL) mib_rcvaddr_delete(rcv); |