diff --git a/src/core/snmp/asn1_enc.c b/src/core/snmp/asn1_enc.c index d8c643c4..64dfc5f6 100644 --- a/src/core/snmp/asn1_enc.c +++ b/src/core/snmp/asn1_enc.c @@ -564,8 +564,6 @@ snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw) u16_t plen, base; u8_t *msg_ptr; - LWIP_ASSERT("raw_len <= 0xffff", raw_len <= 0xffff); - plen = 0; while (p != NULL) {