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/if.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/if.c')
| -rw-r--r-- | src/if.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -78,7 +78,9 @@ if_free(struct interface *ifp) if (ifp == NULL) return; +#ifdef IPV4LL ipv4ll_free(ifp); +#endif dhcp_free(ifp); ipv4_free(ifp); dhcp6_free(ifp); |
