confd: only start mcd if there is a VLAN upper on the bridge

Temporary fix to prevent odd log messages.  The fix is to add RAW VLAN
support to mcd so it can run as a proxy querier even if there is no
upper VLAN interface or IP address.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2024-03-13 10:24:02 +01:00
parent 65d393d491
commit 049f8d18f9
+2 -2
View File
@@ -1041,8 +1041,8 @@ static int vlan_mcast_settings(sr_session_ctx_t *session, FILE *br, const char *
interval = atoi(lydx_get_cattr(mcast, "query-interval"));
ifname = find_vlan_interface(session, brname, vid);
mcast_querier(ifname, querier, interval);
if (ifname)
mcast_querier(ifname, querier, interval);
fprintf(br, " mcast_querier %d mcast_query_interval %d",
ifname ? 0 : querier, interval * 100);