summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-11-17 11:06:24 +0100
committerChristian Poessinger <christian@poessinger.com>2018-11-17 11:07:19 +0100
commit6d9c38ec4585b6db93e00ed881b1e1549adc465b (patch)
treeb09923b9949b782ddeac0e72db0700d22a17dc2a
parent33ed35f45766d9157a25a7591a4ebe8a9a67be8e (diff)
downloadvyos-1x-6d9c38ec4585b6db93e00ed881b1e1549adc465b.tar.gz
vyos-1x-6d9c38ec4585b6db93e00ed881b1e1549adc465b.zip
Rename show-igmpproxy.py -> show_igmpproxy.py
(cherry picked from commit 604600bf40873a7d64329d88dafd90196ed10745)
-rw-r--r--op-mode-definitions/show-ip-multicast.xml4
-rwxr-xr-xsrc/op_mode/show_igmpproxy.py (renamed from src/op_mode/show-igmpproxy.py)2
2 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/show-ip-multicast.xml b/op-mode-definitions/show-ip-multicast.xml
index 07102bfa6..6ffe40436 100644
--- a/op-mode-definitions/show-ip-multicast.xml
+++ b/op-mode-definitions/show-ip-multicast.xml
@@ -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>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>
</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>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>
</leafNode>
</children>
</node>
diff --git a/src/op_mode/show-igmpproxy.py b/src/op_mode/show_igmpproxy.py
index a021fcdde..5ccc16287 100755
--- a/src/op_mode/show-igmpproxy.py
+++ b/src/op_mode/show_igmpproxy.py
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# File: show-igmpproxy
+# File: show_igmpproxy.py
# Purpose:
# Display istatistics from IPv4 IGMP proxy.
# Used by the "run show ip multicast" command tree.