Correctly print AllowMulticast=false in config log
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
f22d7974f7
commit
94c7965077
1 changed files with 2 additions and 2 deletions
|
@ -1231,9 +1231,9 @@ static void pf_allow_multicast(struct cfgst *cfgst, void *parent, struct cfgelem
|
|||
{
|
||||
uint32_t *p = cfg_address (cfgst, parent, cfgelem);
|
||||
if (*p == AMC_DEFAULT)
|
||||
{
|
||||
cfg_logelem (cfgst, sources, "default");
|
||||
}
|
||||
else if (*p == 0)
|
||||
cfg_logelem (cfgst, sources, "false");
|
||||
else
|
||||
{
|
||||
do_print_uint32_bitset (cfgst, *p, sizeof (allow_multicast_codes) / sizeof (*allow_multicast_codes), allow_multicast_names, allow_multicast_codes, sources, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue