summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorerkin <me@erkin.party>2023-01-18 20:46:15 +0300
committererkin <me@erkin.party>2023-01-18 20:46:15 +0300
commit06302555cd504ea1884c156ecb64dc6808256551 (patch)
tree07f032f8f4d542b6dc1287ec0e8f35eda227ed30 /op-mode-definitions
parent6b2e7dc343eaf2e5eabbacb0d4b6440fb04ada94 (diff)
downloadvyos-1x-06302555cd504ea1884c156ecb64dc6808256551.tar.gz
vyos-1x-06302555cd504ea1884c156ecb64dc6808256551.zip
igmp-proxy: T4912: Rewrite show IGMP proxy commands in the new op-mode format
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip-multicast.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-ip-multicast.xml.in b/op-mode-definitions/show-ip-multicast.xml.in
index 80d83b424..d8f16d997 100644
--- a/op-mode-definitions/show-ip-multicast.xml.in
+++ b/op-mode-definitions/show-ip-multicast.xml.in
@@ -13,13 +13,13 @@
<properties>
<help>Show multicast interfaces</help>
</properties>
- <command>if ps -C igmpproxy &amp;&gt;/dev/null; then ${vyos_op_scripts_dir}/show_igmpproxy.py --interface; else echo IGMP proxy not configured; fi</command>
+ <command>${vyos_op_scripts_dir}/igmp-proxy.py show_interface</command>
</leafNode>
<leafNode name="mfc">
<properties>
<help>Show multicast fowarding cache</help>
</properties>
- <command>if ps -C igmpproxy &amp;&gt;/dev/null; then ${vyos_op_scripts_dir}/show_igmpproxy.py --mfc; else echo IGMP proxy not configured; fi</command>
+ <command>${vyos_op_scripts_dir}/igmp-proxy.py show_mfc</command>
</leafNode>
<leafNode name="summary">
<properties>