aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net.c')
-rw-r--r--net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net.c b/net.c
index bae8bef865..fa9fa948cb 100644
--- a/net.c
+++ b/net.c
@@ -1718,6 +1718,9 @@ int do_set_link(const char *name, const char *up_or_down)
term_printf("invalid link status '%s'; only 'up' or 'down' valid\n",
up_or_down);
+ if (vc->link_status_changed)
+ vc->link_status_changed(vc);
+
return 1;
}