X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmulticast_device.c;h=907eb100f6862d7d3b3a81c6e5502bbb7d3024e5;hb=1022812ed4b5c70162f2f0a9d9a96c716c936408;hp=82f7fec03584ab405cb5b5a7a98753deb7b64180;hpb=2c6b2d70e6640f39563ad7bb0aa0ba87f883848c;p=tinc diff --git a/src/multicast_device.c b/src/multicast_device.c index 82f7fec0..907eb100 100644 --- a/src/multicast_device.c +++ b/src/multicast_device.c @@ -39,9 +39,9 @@ static bool setup_device(void) { char *space; int ttl = 1; - get_config_string(lookup_config(config_tree, "Interface"), &iface); + get_config_string(lookup_config(&config_tree, "Interface"), &iface); - 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, "Device variable required for %s", device_info); goto error; }