diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-22 21:20:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 21:20:09 +0200 |
commit | 875560ae8a8402be313717477f63253d327665b8 (patch) | |
tree | ade47f60fe93ba08a50a79f6b515aee77a9568db /op-mode-definitions/show-conntrack.xml.in | |
parent | bec3e9de40b57a1d7cd805ddcdd498033105679b (diff) | |
parent | 4dc5d78eed411c7584265ee33cf1848fdf6492bc (diff) | |
download | vyos-1x-875560ae8a8402be313717477f63253d327665b8.tar.gz vyos-1x-875560ae8a8402be313717477f63253d327665b8.zip |
Merge pull request #1425 from sever-sever/T4145
conntrack: T4145: Modify conntrack to format command runner
Diffstat (limited to 'op-mode-definitions/show-conntrack.xml.in')
-rw-r--r-- | op-mode-definitions/show-conntrack.xml.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/op-mode-definitions/show-conntrack.xml.in b/op-mode-definitions/show-conntrack.xml.in index 792623d7d..8d921e6a5 100644 --- a/op-mode-definitions/show-conntrack.xml.in +++ b/op-mode-definitions/show-conntrack.xml.in @@ -16,7 +16,13 @@ <properties> <help>Show conntrack entries for IPv4 protocol</help> </properties> - <command>sudo ${vyos_op_scripts_dir}/show_conntrack.py</command> + <command>sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet</command> + </node> + <node name="ipv6"> + <properties> + <help>Show conntrack entries for IPv6 protocol</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet6</command> </node> </children> </node> |