Skip to content

Commit

Permalink
confd: initctl touch mcd after querier changes
Browse files Browse the repository at this point in the history
Prior to this commit, querier multicast changes such as query-interval
where not applied to an existing multicast interface. The new initctl
touch makes finit send a sighup to mcd which causes it to re-load its
configuration files.

Signed-off-by: Richard Alpe <[email protected]>
  • Loading branch information
rical authored and troglobit committed Sep 10, 2024
1 parent 5ad2b5d commit 9a2df4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/confd/src/ietf-interfaces.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ static void mcast_querier(const char *ifname, int vid, int mode, int interval)
fclose(fp);

systemf("initctl -bnq enable mcd");
systemf("initctl -bnq touch mcd");
}

static char *find_vlan_interface(sr_session_ctx_t *session, const char *brname, int vid)
Expand Down

0 comments on commit 9a2df4b

Please sign in to comment.