diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-27 19:29:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 19:29:17 +0100 |
commit | 7d3176beb07ab1faa156c2da76384186376cf25d (patch) | |
tree | 6c432dfb745376fda4b30930e79f7a5f95e86935 /python/vyos/ifconfig_vlan.py | |
parent | 93d33b06b59a514485467ced5a48dc997a235c6c (diff) | |
parent | 10461c87c6f58c7f5b63d4053b8f00d65213bda3 (diff) | |
download | vyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.tar.gz vyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.zip |
Merge pull request #227 from thomas-mangin/T2057
ifconfig: T2057: generalised Interface configuration
Diffstat (limited to 'python/vyos/ifconfig_vlan.py')
-rw-r--r-- | python/vyos/ifconfig_vlan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig_vlan.py b/python/vyos/ifconfig_vlan.py index 8e09db95a..576bb244a 100644 --- a/python/vyos/ifconfig_vlan.py +++ b/python/vyos/ifconfig_vlan.py @@ -21,7 +21,7 @@ def apply_vlan_config(vlan, config): to a VLAN interface """ - if type(vlan) != type(VLANIf("lo")): + if vlan.__class__ != VLANIf: raise TypeError() # get DHCP config dictionary and update values |