X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=inline;f=src%2Fuml_device.c;h=3f521040f8ceb25827866ebf261d5181e1885391;hb=61b441dc995c1e6dd21fd85e2014dd981e9c9350;hp=3e7b8219fc4f000328f3fb482c0aa56695cc5300;hpb=87f96aec8c48327d879c20ff2b789c88a675173d;p=tinc diff --git a/src/uml_device.c b/src/uml_device.c index 3e7b8219..3f521040 100644 --- a/src/uml_device.c +++ b/src/uml_device.c @@ -60,7 +60,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);