Skip to content

Commit e4d1d4a

Browse files
talmakionmergify[bot]
authored andcommitted
T6431: op-mode command monitor traceroute missing recursive symlink
Likely this was copied from mtr in the past but the symlink wasn't added to the Makefile. I've also swapped the completion help text around to match the commands. (cherry picked from commit de1479b)
1 parent 9017dad commit e4d1d4a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ op_mode_definitions: $(op_xml_obj)
6666
ln -s ../node.tag $(OP_TMPL_DIR)/ping/node.tag/node.tag/
6767
ln -s ../node.tag $(OP_TMPL_DIR)/traceroute/node.tag/node.tag/
6868
ln -s ../node.tag $(OP_TMPL_DIR)/mtr/node.tag/node.tag/
69+
ln -s ../node.tag $(OP_TMPL_DIR)/monitor/traceroute/node.tag/node.tag/
6970

7071
# XXX: test if there are empty node.def files - this is not allowed as these
7172
# could mask help strings or mandatory priority statements

op-mode-definitions/mtr.xml.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<children>
1414
<leafNode name="node.tag">
1515
<properties>
16-
<help>mtr options</help>
16+
<help>Traceroute options</help>
1717
<completionHelp>
1818
<script>${vyos_op_scripts_dir}/mtr.py --get-options-nested "${COMP_WORDS[@]}"</script>
1919
</completionHelp>
@@ -35,7 +35,7 @@
3535
<children>
3636
<leafNode name="node.tag">
3737
<properties>
38-
<help>Traceroute options</help>
38+
<help>mtr options</help>
3939
<completionHelp>
4040
<script>${vyos_op_scripts_dir}/mtr.py --get-options "${COMP_WORDS[@]}"</script>
4141
</completionHelp>

0 commit comments

Comments
 (0)