mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 21:13:00 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user