diff options
| author | Roy Marples <roy@marples.name> | 2018-06-15 09:10:55 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-06-15 09:10:55 +0100 |
| commit | 51caa872dd050a8b2d368fdee67b95111f3ea5e6 (patch) | |
| tree | 6c5d602abde43701816654b636fbd364b4dcc0fd /src/dhcpcd.c | |
| parent | 71981cab0e41ea2833489bc51307611727276aff (diff) | |
| download | dhcpcd-51caa872dd050a8b2d368fdee67b95111f3ea5e6.tar.xz | |
Fix my dumb mistake with the compile fixes which caused dhcpcd to
ignore carrier loss on IPv4 addresses.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index d63fa0c2..c572c137 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -373,7 +373,7 @@ dhcpcd_drop(struct interface *ifp, int stop) #ifdef IPV4LL ipv4ll_drop(ifp); #endif -#ifdef DHCP +#ifdef INET dhcp_drop(ifp, stop ? "STOP" : "EXPIRE"); #endif #ifdef ARP |
