Const correctness.
[oweals/tinc.git] / src / vde_device.c
index 20302b0d9f44ff3e0cad0c8daa60a2c744678e9c..6d854a61d644e86f23a73575c705fc28f71c427b 100644 (file)
@@ -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,