diff options
Diffstat (limited to 'src/net/dhcppkt.c')
| -rw-r--r-- | src/net/dhcppkt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/dhcppkt.c b/src/net/dhcppkt.c index e043bb5d4..237c3e2cf 100644 --- a/src/net/dhcppkt.c +++ b/src/net/dhcppkt.c @@ -267,7 +267,8 @@ void dhcppkt_init ( struct dhcp_packet *dhcppkt, struct dhcphdr *data, ref_init ( &dhcppkt->refcnt, NULL ); dhcppkt->dhcphdr = data; dhcpopt_init ( &dhcppkt->options, &dhcppkt->dhcphdr->options, - ( len - offsetof ( struct dhcphdr, options ) ) ); + ( len - offsetof ( struct dhcphdr, options ) ), + dhcpopt_no_realloc ); settings_init ( &dhcppkt->settings, &dhcppkt_settings_operations, &dhcppkt->refcnt, 0 ); } |
