summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-24 06:36:52 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-24 06:36:52 +0000
commit51c3906e5539a414a6cd57374bcd379e7e424025 (patch)
tree77e79e65592e824383568f48e88de4b2e3093077 /usr.sbin
parent7f1108670a2ba0bd92c2a3691e98bc89725e6589 (diff)
timeticks type
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/snmpd/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/trap.c b/usr.sbin/snmpd/trap.c
index 2472d23eac6..a427644ff0a 100644
--- a/usr.sbin/snmpd/trap.c
+++ b/usr.sbin/snmpd/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.9 2008/01/18 13:04:28 reyk Exp $ */
+/* $OpenBSD: trap.c,v 1.10 2008/01/24 06:36:51 reyk Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@vantronix.net>
@@ -231,7 +231,7 @@ trap_send(struct ber_oid *oid, struct ber_element *elm)
/* Add mandatory varbind elements */
trap = ber_add_sequence(NULL);
- c = ber_printf_elements(trap, "{Oit}{OO}",
+ c = ber_printf_elements(trap, "{Odt}{OO}",
&uptime, smi_getticks(),
BER_CLASS_APPLICATION, SNMP_T_TIMETICKS,
&trapoid, oid);