summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-10 19:14:06 +0100
committerGitHub <noreply@github.com>2022-11-10 19:14:06 +0100
commitc6fbf37ea16d67ebda4477c74e76ef2895a89409 (patch)
tree570c6b4ddfa132d39fac7de59873abbcc395f036
parent4b3ab8de85618a96b89ffa84094f49b1fca06e0c (diff)
parentf60706b4a9bf428e4dd3a170895c539f08286a78 (diff)
downloadvyos-1x-c6fbf37ea16d67ebda4477c74e76ef2895a89409.tar.gz
vyos-1x-c6fbf37ea16d67ebda4477c74e76ef2895a89409.zip
Merge pull request #1651 from initramfs/current-fix-pppoe-log
T4810: fix show/monitor log of pppoe interface
-rw-r--r--op-mode-definitions/monitor-log.xml.in2
-rw-r--r--op-mode-definitions/show-log.xml.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in
index 01462ad8f..dccdfaf9a 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -118,7 +118,7 @@
<script>${vyos_completion_dir}/list_interfaces.py -t pppoe</script>
</completionHelp>
</properties>
- <command>journalctl --no-hostname --boot --follow --unit "ppp@$6.service"</command>
+ <command>journalctl --no-hostname --boot --follow --unit "ppp@$5.service"</command>
</tagNode>
</children>
</node>
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 8906d9ef3..404de1913 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -267,7 +267,7 @@
<script>${vyos_completion_dir}/list_interfaces.py -t pppoe</script>
</completionHelp>
</properties>
- <command>journalctl --no-hostname --boot --unit "ppp@$6.service"</command>
+ <command>journalctl --no-hostname --boot --unit "ppp@$5.service"</command>
</tagNode>
</children>
</node>