diff options
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 19f94a2d7..a8cd3f03b 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -362,7 +362,10 @@ static int FAST_FUNC read_staticlease(const char *const_line, void *arg) | |||
362 | } | 362 | } |
363 | 363 | ||
364 | static int FAST_FUNC read_optset(const char *line, void *arg) { | 364 | static int FAST_FUNC read_optset(const char *line, void *arg) { |
365 | return udhcp_str2optset(line, arg, dhcp_optflags, dhcp_option_strings); | 365 | return udhcp_str2optset(line, arg, |
366 | dhcp_optflags, dhcp_option_strings, | ||
367 | /*dhcpv6:*/ 0 | ||
368 | ); | ||
366 | } | 369 | } |
367 | 370 | ||
368 | struct config_keyword { | 371 | struct config_keyword { |
@@ -588,9 +591,7 @@ static void send_packet_to_relay(struct dhcp_packet *dhcp_pkt) | |||
588 | 591 | ||
589 | udhcp_send_kernel_packet(dhcp_pkt, | 592 | udhcp_send_kernel_packet(dhcp_pkt, |
590 | server_config.server_nip, SERVER_PORT, | 593 | server_config.server_nip, SERVER_PORT, |
591 | dhcp_pkt->gateway_nip, SERVER_PORT, | 594 | dhcp_pkt->gateway_nip, SERVER_PORT); |
592 | /*send_flags:*/ 0 | ||
593 | ); | ||
594 | } | 595 | } |
595 | 596 | ||
596 | static void send_packet(struct dhcp_packet *dhcp_pkt, int force_broadcast) | 597 | static void send_packet(struct dhcp_packet *dhcp_pkt, int force_broadcast) |