diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-01-18 13:04:29 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-01-18 13:04:29 +0000 |
commit | a131886b737147377c5476f14a2a2c208737d122 (patch) | |
tree | cdb6c5d2234caa6436a29eb048c385fb5e57252f /usr.sbin/snmpd | |
parent | f505a6f2f9d1145ff2da22c9ffd5fcbc1bbc91dd (diff) |
trap.c
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r-- | usr.sbin/snmpd/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/trap.c b/usr.sbin/snmpd/trap.c index 4c61dbf4e19..2472d23eac6 100644 --- a/usr.sbin/snmpd/trap.c +++ b/usr.sbin/snmpd/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.8 2008/01/18 02:09:30 reyk Exp $ */ +/* $OpenBSD: trap.c,v 1.9 2008/01/18 13:04:28 reyk Exp $ */ /* * Copyright (c) 2008 Reyk Floeter <reyk@vantronix.net> @@ -105,6 +105,7 @@ trap_imsg(struct imsgbuf *ibuf, pid_t pid) break; case SNMP_BITSTRING: case SNMP_OCTETSTRING: + case SNMP_IPADDR: if ((sm->snmp_len < 1) || (sm->snmp_len >= SNMPD_MAXSTRLEN)) goto imsgdone; @@ -124,7 +125,6 @@ trap_imsg(struct imsgbuf *ibuf, pid_t pid) a = ber_add_null(a); break; case SNMP_INTEGER32: - case SNMP_IPADDR: case SNMP_COUNTER32: case SNMP_GAUGE32: case SNMP_TIMETICKS: |