diff options
| author | Roy Marples <roy@marples.name> | 2016-01-22 10:11:16 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-01-22 10:11:16 +0000 |
| commit | 490428b6a96953c32f88603286890ece603a58dd (patch) | |
| tree | 62bf9782b4b17c0b1547b6b335a772f16b3c8144 /dhcpcd.c | |
| parent | 93f3066bb0bc0974eab1943543205312a6b512ad (diff) | |
| download | dhcpcd-490428b6a96953c32f88603286890ece603a58dd.tar.xz | |
Fix build without INET
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -945,11 +945,13 @@ dhcpcd_startinterface(void *arg) } } +#ifdef INET if (ifo->options & DHCPCD_IPV4) { /* Ensure we have an IPv4 state before starting DHCP */ if (ipv4_getstate(ifp) != NULL) dhcp_start(ifp); } +#endif } static void |
