projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f88c1d
)
Set DEVICE for legacy ifupdate event as well
author
Steven Barth
<steven@midlink.org>
Wed, 23 Jul 2014 16:06:47 +0000
(18:06 +0200)
committer
Steven Barth
<steven@midlink.org>
Wed, 23 Jul 2014 16:06:47 +0000
(18:06 +0200)
Signed-off-by: Steven Barth <steven@midlink.org>
interface-event.c
patch
|
blob
|
history
diff --git
a/interface-event.c
b/interface-event.c
index 1c8134f63421e363965a2f988458abdceba65989..24af8f57ef67e76001ca819b1085e1bab7070950 100644
(file)
--- 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",