summary refs log tree commit diff stats
path: root/net/l2tpv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/l2tpv3.c')
-rw-r--r--net/l2tpv3.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/l2tpv3.c b/net/l2tpv3.c
index b7e1d84674..e4d4218db6 100644
--- a/net/l2tpv3.c
+++ b/net/l2tpv3.c
@@ -723,12 +723,8 @@ int net_init_l2tpv3(const Netdev *netdev,
 
     l2tpv3_read_poll(s, true);
 
-    /* Store startup parameters */
-    nc->stored_config = g_new0(NetdevInfo, 1);
-    nc->stored_config->type = NET_BACKEND_L2TPV3;
-
-    QAPI_CLONE_MEMBERS(NetdevL2TPv3Options,
-                       &nc->stored_config->u.l2tpv3, l2tpv3);
+    snprintf(s->nc.info_str, sizeof(s->nc.info_str),
+             "l2tpv3: connected");
     return 0;
 outerr:
     qemu_del_net_client(nc);