diff options
| author | Roy Marples <roy@marples.name> | 2019-01-23 11:28:59 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-01-23 11:28:59 +0000 |
| commit | c9463d17ed1dc7ea1b8e7b55476838c0f0a267e1 (patch) | |
| tree | 92237f9e968b7605fb270e5bff3250c385db919b /src/dhcpcd.c | |
| parent | 16fb7519c3e78d02d4b4279ab39f2f6a2208b7fa (diff) | |
| download | dhcpcd-c9463d17ed1dc7ea1b8e7b55476838c0f0a267e1.tar.xz | |
IPv4LL: Remove #defines for functions when IPv4LL is disabled
This allows us to optimise the code better and hopefully
become less error prone.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 6d99e379..9562af01 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1340,8 +1340,10 @@ dhcpcd_getinterfaces(void *arg) len++; if (D_STATE_RUNNING(ifp)) len++; +#ifdef IPV4LL if (IPV4LL_STATE_RUNNING(ifp)) len++; +#endif if (IPV6_STATE_RUNNING(ifp)) len++; if (RS_STATE_RUNNING(ifp)) |
