-/* $OpenBSD: mib.c,v 1.76 2015/06/10 10:03:59 mikeb Exp $ */
+/* $OpenBSD: mib.c,v 1.77 2015/10/05 15:29:14 uebayasi Exp $ */
/*
* Copyright (c) 2012 Joel Knight <joel@openbsd.org>
ber_set_header(ber, BER_CLASS_APPLICATION, SNMP_T_COUNTER32);
break;
case 19:
- ber = ber_add_integer(ber, 0);
+ ber = ber_add_integer(ber, (u_int32_t)kif->if_oqdrops);
ber_set_header(ber, BER_CLASS_APPLICATION, SNMP_T_COUNTER32);
break;
case 20:
-/* $OpenBSD: snmpd.h,v 1.60 2015/06/11 18:49:09 reyk Exp $ */
+/* $OpenBSD: snmpd.h,v 1.61 2015/10/05 15:29:14 uebayasi Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
#define if_imcasts if_data.ifi_imcasts
#define if_omcasts if_data.ifi_omcasts
#define if_iqdrops if_data.ifi_iqdrops
+#define if_oqdrops if_data.ifi_oqdrops
#define if_noproto if_data.ifi_noproto
#define if_lastchange if_data.ifi_lastchange
#define if_capabilities if_data.ifi_capabilities