diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-03-02 15:09:45 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-03-02 15:41:26 +0000 |
commit | e1c993f57efdf91f26a36f1d0339298e63fdf20e (patch) | |
tree | f480a65d1a89080227f790e03ec8243c239d9265 /src | |
parent | ecd936a0189e7f785929a585cd190cbbf3bc4c1b (diff) | |
download | vyos-1x-e1c993f57efdf91f26a36f1d0339298e63fdf20e.tar.gz vyos-1x-e1c993f57efdf91f26a36f1d0339298e63fdf20e.zip |
op-mode: T3357: Fix show_interfaces bug with tunnels
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/show_interfaces.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/op_mode/show_interfaces.py b/src/op_mode/show_interfaces.py index 256c86d2a..5375a8406 100755 --- a/src/op_mode/show_interfaces.py +++ b/src/op_mode/show_interfaces.py @@ -71,10 +71,7 @@ def filtered_interfaces(ifnames, iftypes, vif, vrrp): if ifnames and ifname not in ifnames: continue - # return the class which can handle this interface name - klass = Section.klass(ifname) - # connect to the interface - interface = klass(ifname, create=False, debug=False) + interface = Interface(ifname) if iftypes and interface.definition['section'] not in iftypes: continue |