diff options
Diffstat (limited to 'extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py')
-rw-r--r-- | extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py b/extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py index 1b6b4e731ca..2a373f8e56e 100644 --- a/extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py +++ b/extras/deprecated/vnet/vxlan-gbp/vpp_vxlan_gbp_tunnel.py @@ -56,9 +56,9 @@ class VppVxlanGbpTunnel(VppInterface): "dst": self.dst, "mode": self.mode, "vni": self.vni, - "mcast_sw_if_index": self.mcast_itf.sw_if_index - if self.mcast_itf - else INDEX_INVALID, + "mcast_sw_if_index": ( + self.mcast_itf.sw_if_index if self.mcast_itf else INDEX_INVALID + ), "encap_table_id": self.encap_table_id, "instance": self.instance, } |