mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
iproute2: svd: convert vnifilter attr to boolean to cover all case
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
@@ -302,7 +302,7 @@ class IPRoute2(Cache, Requirements):
|
||||
# when changing local ip, if we specify vnifilter we get:
|
||||
# Error: vxlan: cannot change flag.
|
||||
# So we are only setting this attribute on vxlan creation
|
||||
if vnifilter and vnifilter == "on":
|
||||
if vnifilter and utils.get_boolean_from_string(vnifilter):
|
||||
cmd.append("vnifilter")
|
||||
|
||||
if ip:
|
||||
|
Reference in New Issue
Block a user