]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
addons: vxlan: fix name 'vni_mcastgrp_map' is not defined
authorJulien Fortin <jfortin@nvidia.com>
Mon, 21 Jun 2021 16:17:58 +0000 (18:17 +0200)
committerJulien Fortin <jfortin@nvidia.com>
Thu, 1 Jul 2021 17:53:04 +0000 (19:53 +0200)
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
ifupdown2/addons/vxlan.py

index 99b91ab7fe3169fd68096660e20bcfa23cfa9aea..b85a8bf38fb937dddd4e5fd3bed39489b1bcdcb6 100644 (file)
@@ -1023,8 +1023,8 @@ class vxlan(Vxlan, moduleBase):
             try:
                 for v, g in vxlan_mcast_grp.items():
                     if v not in vnisd.keys():
-                        self.logger.error("%s: group %s configured for a vni not specified in vlan vni map (%s)"
-                                          %(ifaceobj.name, g, vni_mcastgrp_map))
+                        self.logger.error("%s: group %s configured for a vni (%s) not specified in vlan vni map"
+                                          %(ifaceobj.name, g, v))
                         return
                     vnisd[v] = str(g)
             except Exception as e: