View | Details | Raw Unified | Return to bug 255214
Collapse All | Expand All

(-)b/contrib/bsnmp/snmpd/main.c (-1 / +1 lines)
Lines 641-647 snmp_input_start(const u_char *buf, size_t len, const char *source, Link Here
641
			pdu->engine.engine_boots = snmpd_engine.engine_boots;
641
			pdu->engine.engine_boots = snmpd_engine.engine_boots;
642
			pdu->engine.engine_time = snmpd_engine.engine_time;
642
			pdu->engine.engine_time = snmpd_engine.engine_time;
643
		}
643
		}
644
	} else if (usm_user->suser.auth_proto != SNMP_AUTH_NOAUTH &&
644
	} else if (pdu->user.auth_proto != SNMP_AUTH_NOAUTH &&
645
	     (pdu->engine.engine_boots == 0 || pdu->engine.engine_time == 0)) {
645
	     (pdu->engine.engine_boots == 0 || pdu->engine.engine_time == 0)) {
646
		snmpd_usmstats.not_in_time_windows++;
646
		snmpd_usmstats.not_in_time_windows++;
647
		ret = SNMPD_INPUT_FAILED;
647
		ret = SNMPD_INPUT_FAILED;

Return to bug 255214