aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net.c')
-rw-r--r--net.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net.c b/net.c
index 603e77c..fe33b4f 100644
--- a/net.c
+++ b/net.c
@@ -1198,6 +1198,12 @@ static void slirp_guestfwd(Monitor *mon, const char *config_str,
config_error(mon, "invalid guest forwarding rule '%s'\n", config_str);
}
+void do_info_usernet(Monitor *mon)
+{
+ monitor_printf(mon, "VLAN %d (%s):\n", slirp_vc->vlan->id, slirp_vc->name);
+ slirp_connection_info(mon);
+}
+
#endif /* CONFIG_SLIRP */
#if !defined(_WIN32)