]> tinc-vpn.org Git - tinc/blobdiff - src/fd_device.c
Replace pointers to global splay trees with structs.
[tinc] / src / fd_device.c
index 7360d17e7964da2b669b254970edb044f7416d4e..f21e475c52ccf2f7a2e7519fc6f957265bcd06d9 100644 (file)
@@ -150,7 +150,7 @@ static bool setup_device(void) {
                return false;
        }
 
-       if(!get_config_string(lookup_config(config_tree, "Device"), &device)) {
+       if(!get_config_string(lookup_config(&config_tree, "Device"), &device)) {
                logger(DEBUG_ALWAYS, LOG_ERR, "Could not read device from configuration!");
                return false;
        }