From 7c5d5bb952cff9fe57d0f4805cc2286318868e02 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 23 Jul 2014 18:06:47 +0200 Subject: [PATCH] Set DEVICE for legacy ifupdate event as well Signed-off-by: Steven Barth --- interface-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.25.1