X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmulticast_device.c;h=99f26ca9e038d18947ef3f8e7706a50bdbbe4e90;hb=5ec513ec0ffc735e30c559a03378659ba4cc4515;hp=c19852bfca7f855ba5e0c9543f8e894bf3996d2d;hpb=f6e87ab476a0faf8b124ecaaa27f967d825e6457;p=tinc diff --git a/src/multicast_device.c b/src/multicast_device.c index c19852bf..99f26ca9 100644 --- a/src/multicast_device.c +++ b/src/multicast_device.c @@ -29,7 +29,7 @@ #include "route.h" #include "xalloc.h" -static char *device_info; +static const char *device_info = "multicast socket"; static struct addrinfo *ai = NULL; static mac_t ignore_src = {{0}}; @@ -40,8 +40,6 @@ static bool setup_device(void) { char *space; int ttl = 1; - device_info = "multicast socket"; - get_config_string(lookup_config(config_tree, "Interface"), &iface); if(!get_config_string(lookup_config(config_tree, "Device"), &device)) {