diff options
| author | Roy Marples <roy@marples.name> | 2009-01-15 09:30:11 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-01-15 09:30:11 +0000 |
| commit | b66d49d3863e7ef38648ed59789bf0343a2a4798 (patch) | |
| tree | ab5c66ba2d61a8147c212b41ade6ecec0a2a8530 /dhcpcd.c | |
| parent | bd487e6c771dac18b2a2b8b62c5127b09f57b002 (diff) | |
| download | dhcpcd-b66d49d3863e7ef38648ed59789bf0343a2a4798.tar.xz | |
New configure reasons NOCARRIER and NAK instead of just sending EXPIRE.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -449,7 +449,7 @@ handle_dhcp(struct interface *iface, struct dhcp_message **dhcpp) /* We should restart on a NAK */ if (type == DHCP_NAK) { log_dhcp(LOG_WARNING, "NAK:", iface, dhcp); - drop_config(iface, "EXPIRE"); + drop_config(iface, "NAK"); unlink(iface->leasefile); delete_event(iface->raw_fd); close(iface->raw_fd); @@ -726,7 +726,7 @@ handle_carrier(const char *ifname) syslog(LOG_INFO, "%s: carrier lost", iface->name); close_sockets(iface); delete_timeouts(iface, start_expire, NULL); - drop_config(iface, "EXPIRE"); + drop_config(iface, "NOCARRIER"); } break; default: |
