diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-07 10:51:49 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-07 10:51:49 +0200 |
commit | 8ddac94cc942e328edc3e138eb92df97ef72c694 (patch) | |
tree | f1f47ea51f9bec5f5e01beffba20f825d645d8d0 /op-mode-definitions/show-interfaces-ethernet.xml | |
parent | 459e32b3697396d032d50e9b5b5ab98518ce5cec (diff) | |
download | vyos-1x-8ddac94cc942e328edc3e138eb92df97ef72c694.tar.gz vyos-1x-8ddac94cc942e328edc3e138eb92df97ef72c694.zip |
op-mode: ethernet: T2546: do not display fixed offload options
[fixed] options returned by ethtool -k mean that they can not be change and
thus offloading can neither be enabled nor disabled. It makes no sense to
display those parameters at all.
Diffstat (limited to 'op-mode-definitions/show-interfaces-ethernet.xml')
-rw-r--r-- | op-mode-definitions/show-interfaces-ethernet.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml index 6068f9e57..1a767b094 100644 --- a/op-mode-definitions/show-interfaces-ethernet.xml +++ b/op-mode-definitions/show-interfaces-ethernet.xml @@ -35,7 +35,7 @@ <properties> <help>Show physical device offloading capabilities</help> </properties> - <command>/sbin/ethtool -k "$4"</command> + <command>/sbin/ethtool -k "$4" | sed -e '/fixed/d'</command> </leafNode> </children> </node> |