mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 22:03:01 +02:00
statd: always use mctl -p (plain) output mode
The plain output mode prevents garbled JSON output due to the built-in pretty-printer in mctl. Fixed in v2.1 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -826,7 +826,7 @@ def main():
|
||||
add_ethtool_std(ifname, iface_out)
|
||||
|
||||
if 'type' in iface_out and iface_out['type'] == "infix-if-type:bridge":
|
||||
mc_status=run_json_cmd(['mctl', 'show', 'igmp', 'json'], "igmp-status.json")
|
||||
mc_status = run_json_cmd(['mctl', '-p', 'show', 'igmp', 'json'], "igmp-status.json")
|
||||
|
||||
add_vlans_to_bridge(ifname, iface_out, mc_status)
|
||||
add_mdb_to_bridge(ifname, iface_out, mc_status)
|
||||
|
||||
Reference in New Issue
Block a user