Commit e6dcfae1 authored by Christof Schulze's avatar Christof Schulze Committed by Juliusz Chroboczek

kernel_netlink.c: check interfaces when RTM_NEWLINK or RTM_DELLINK is received

parent da50f2a3
...@@ -390,6 +390,9 @@ netlink_read(struct netlink *nl, struct netlink *nl_ignore, int answer, ...@@ -390,6 +390,9 @@ netlink_read(struct netlink *nl, struct netlink *nl_ignore, int answer,
errno = -err->error; errno = -err->error;
return -1; return -1;
} }
} else if(nh->nlmsg_type == RTM_NEWLINK || nh->nlmsg_type == RTM_DELLINK ) {
kdebugf("detected an interface change via netlink - triggering babeld interface check\n");
check_interfaces();
} else if(skip) { } else if(skip) {
kdebugf("(skip)"); kdebugf("(skip)");
} if(filter) { } if(filter) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment