aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/udhcp/dhcpc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 95fa8150d..8009bec04 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -58,18 +58,18 @@ static int listen_mode;
struct client_config_t client_config = {
/* Default options. */
- abort_if_no_lease: 0,
- foreground: 0,
- quit_after_lease: 0,
- background_if_no_lease: 0,
- interface: "eth0",
- pidfile: NULL,
- script: DEFAULT_SCRIPT,
- clientid: NULL,
- hostname: NULL,
- fqdn: NULL,
- ifindex: 0,
- arp: "\0\0\0\0\0\0", /* appease gcc-3.0 */
+ .abort_if_no_lease = 0,
+ .foreground = 0,
+ .quit_after_lease = 0,
+ .background_if_no_lease = 0,
+ .interface = "eth0",
+ .pidfile = NULL,
+ .script = DEFAULT_SCRIPT,
+ .clientid = NULL,
+ .hostname = NULL,
+ .fqdn = NULL,
+ .ifindex = 0,
+ .arp = "\0\0\0\0\0\0", /* appease gcc-3.0 */
};
#ifndef IN_BUSYBOX