projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support autoconf's --runstatedir option.
[tinc]
/
src
/
uml_device.c
diff --git
a/src/uml_device.c
b/src/uml_device.c
index
5c9a306
..
ee9e03f
100644
(file)
--- 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)) {
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);
}
get_config_string(lookup_config(config_tree, "Interface"), &iface);