From 1ed7a65b4fed0c3218271b010e8c9386d4880061 Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Wed, 15 Jan 2020 12:42:48 +0100 Subject: [PATCH] Give interface name when warning about multicast Signed-off-by: Erik Boasson --- src/core/ddsi/src/q_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ddsi/src/q_init.c b/src/core/ddsi/src/q_init.c index 5365f4d..11abfa4 100644 --- a/src/core/ddsi/src/q_init.c +++ b/src/core/ddsi/src/q_init.c @@ -957,7 +957,7 @@ int rtps_init (struct q_globals *gv) { if (!gv->interfaces[gv->selected_interface].mc_capable) { - GVWARNING ("selected interface is not multicast-capable: disabling multicast\n"); + GVWARNING ("selected interface \"%s\" is not multicast-capable: disabling multicast\n", gv->interfaces[gv->selected_interface].name); gv->config.allowMulticast = AMC_FALSE; /* ensure discovery can work: firstly, that the process will be reachable on a "well-known" port number, and secondly, that the local interface's IP address gets added to the discovery