Skip to content

mcastmngr: fix ubus call in uci default script

Anatoly Mirin requested to merge mirin/mcastmngr_config_generate_fix into devel
  1. Fixed - $itf parameter was not actually expanded because it was enclosed in single quotes. So 'ubus call ...' command always returned an empty result.

  2. I noticed that on some DUTs (dut_en7562_arcee_716090, dut_en7562_arcee_716160) there is no "upstream_interface" in the mcast config. But the upstream interface (eth0.2) is configured and works well. Apparently upstream was somehow broken when mcastmngr was installed. I added a check for the interfaces presence in mcast config so that such an error can be corrected when reinstalling mcastmngr.

Merge request reports