diff options
| author | Roy Marples <roy@marples.name> | 2013-06-06 12:38:15 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-06-06 12:38:15 +0000 |
| commit | ce289a66faab77033b7c43592ad4d5c17c64b97c (patch) | |
| tree | 14210799343b0016e567ce6f23addbe5db4e9c5d /dhcpcd.c | |
| parent | 91b57dee9298697069a16cb42cf7c99165fc622e (diff) | |
| download | dhcpcd-ce289a66faab77033b7c43592ad4d5c17c64b97c.tar.xz | |
Add DEPARTED reason for when an interface is removed.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -516,8 +516,10 @@ handle_interface(int action, const char *ifname) if (action == -1) { ifp = find_interface(ifname); - if (ifp != NULL) + if (ifp != NULL) { stop_interface(ifp); + script_runreason(ifp, "DEPARTED"); + } return; } |
