From: Alan T. DeKok Date: Mon, 28 Nov 2016 14:29:14 +0000 (-0500) Subject: Garbage after the packet is a warning, not an error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfca53acfbdaed69cb6e4aa4bcc0d62a190f51dd;p=thirdparty%2Ffreeradius-server.git Garbage after the packet is a warning, not an error --- diff --git a/src/modules/proto_dhcp/dhcp.c b/src/modules/proto_dhcp/dhcp.c index d8c03d5d7f6..1ba568322c3 100644 --- a/src/modules/proto_dhcp/dhcp.c +++ b/src/modules/proto_dhcp/dhcp.c @@ -1071,9 +1071,8 @@ ssize_t fr_dhcp_decode_option(TALLOC_CTX *ctx, vp_cursor_t *cursor, for (i = 1; i < data_len; i++) { if (p[i] != 0) { - fr_strerror_printf("%s: Non padding option follows end of options signifier", - __FUNCTION__); - return -1; + WARN("DHCP: Non padding option follows end of options signifier"); + break; } } return data_len;