X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fvde_device.c;h=6d854a61d644e86f23a73575c705fc28f71c427b;hp=20302b0d9f44ff3e0cad0c8daa60a2c744678e9c;hb=061c3fcaf9c63978009dc2707071f8daef8751b2;hpb=afda1d91ae290ac2aa2a45d07fa6838b3159da39 diff --git a/src/vde_device.c b/src/vde_device.c index 20302b0d..6d854a61 100644 --- a/src/vde_device.c +++ b/src/vde_device.c @@ -33,7 +33,7 @@ static struct vdepluglib plug; static struct vdeconn *conn = NULL; static int port = 0; static char *group = NULL; -static char *device_info; +static const char *device_info = "VDE socket"; extern char *identname; extern volatile bool running; @@ -59,8 +59,6 @@ static bool setup_device(void) { get_config_string(lookup_config(config_tree, "VDEGroup"), &group); - device_info = "VDE socket"; - struct vde_open_args args = { .port = port, .group = group,