X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fuml_device.c;h=ee9e03f4291419aa3372348888b2053b543f9178;hp=5c9a306e639e1ca0028403dba509aed03d593647;hb=afda1d91ae290ac2aa2a45d07fa6838b3159da39;hpb=57bc9a1835bcb6a8df7963ee4ab04fde34f28eaf diff --git a/src/uml_device.c b/src/uml_device.c index 5c9a306e..ee9e03f4 100644 --- a/src/uml_device.c +++ b/src/uml_device.c @@ -65,7 +65,7 @@ static bool setup_device(void) { struct timeval tv; if(!get_config_string(lookup_config(config_tree, "Device"), &device)) { - xasprintf(&device, LOCALSTATEDIR "/run/%s.umlsocket", identname); + xasprintf(&device, RUNSTATEDIR "/%s.umlsocket", identname); } get_config_string(lookup_config(config_tree, "Interface"), &iface);