bug fixes and wireless overlay experiment
[nepi.git] / src / nepi / testbeds / ns3 / factories_metadata.py
index 006d252..c2a2bd2 100644 (file)
@@ -494,6 +494,8 @@ def configure_node(testbed_instance, guid):
                     ifindex = ipv4.GetInterfaceForPrefix(nexthop_address, ifmask)
                     if ifindex == ifidx:
                         break
+                if ifindex == ifidx:
+                    break
             if ifindex < 0:
                 # Check previous ptp routes
                 for chaindest, chainprefix, chainhop, metric in routes: