diff options
Diffstat (limited to 'system-linux.c')
-rw-r--r-- | system-linux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system-linux.c b/system-linux.c index 7955cec..7ae9e27 100644 --- a/system-linux.c +++ b/system-linux.c @@ -322,7 +322,8 @@ static int cb_rtnl_event(struct nl_msg *msg, void *arg) goto out; device_set_ifindex(dev, ifi->ifi_index); - device_set_link(dev, ifi->ifi_flags & IFF_LOWER_UP ? true : false); + if (!dev->type->keep_link_status) + device_set_link(dev, ifi->ifi_flags & IFF_LOWER_UP ? true : false); out: return 0; |