diff options
-rw-r--r-- | system-dummy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system-dummy.c b/system-dummy.c index 3ab22b0..deb53ff 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -91,8 +91,10 @@ int system_if_check(struct device *dev) { dev->ifindex = 0; - if (!strcmp(dev->ifname, "eth0")) + if (!strcmp(dev->ifname, "eth0")) { device_set_present(dev, true); + device_set_link(dev, true); + } return 0; } |