From 52c919d0d38f3b788155de06b929d4e3449e1a72 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 5 Apr 2014 19:57:37 +0200 Subject: [PATCH] system-dummy: indicate link on present devices Signed-off-by: Felix Fietkau --- system-dummy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.25.1