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;
}
if(!get_config_string(lookup_config(config_tree, "Device"), &device)) {
- xasprintf(&device, LOCALSTATEDIR "/run/vde.ctl");
+ xasprintf(&device, RUNSTATEDIR "/vde.ctl");
}
get_config_string(lookup_config(config_tree, "Interface"), &iface);
get_config_string(lookup_config(config_tree, "VDEGroup"), &group);
- device_info = "VDE socket";
-
struct vde_open_args args = {
.port = port,
.group = group,