diff options
author | Steven Barth <steven@midlink.org> | 2014-07-23 18:06:47 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-07-23 18:06:47 +0200 |
commit | 7c5d5bb952cff9fe57d0f4805cc2286318868e02 (patch) | |
tree | 911d841a0fbaf4f805e2b55c33b88891c3f5a60f /interface-event.c | |
parent | 3f88c1dc2f738bc50dfa47038fde2565daf84385 (diff) |
Set DEVICE for legacy ifupdate event as well
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'interface-event.c')
-rw-r--r-- | interface-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-event.c b/interface-event.c index 1c8134f..24af8f5 100644 --- a/interface-event.c +++ b/interface-event.c @@ -83,7 +83,7 @@ call_hotplug(void) current_ev = current->hotplug_ev; list_del_init(¤t->hotplug_list); - if (current_ev == IFEV_UP && current->l3_dev.dev) + if ((current_ev == IFEV_UP || current_ev == IFEV_UPDATE) && current->l3_dev.dev) device = current->l3_dev.dev->ifname; D(SYSTEM, "Call hotplug handler for interface '%s', event '%s' (%s)\n", |