ip: The check for 'same packet' must include the FIB index
[vpp.git] / test / vpp_ip.py
index 81305b2..48b6b9d 100644 (file)
@@ -168,6 +168,7 @@ class VppIpPuntRedirect(VppObject):
     def add_vpp_config(self):
         self._test.vapi.ip_punt_redirect(punt=self.encode(), is_add=True)
         self._test.registry.register(self, self._test.logger)
+        return self
 
     def remove_vpp_config(self):
         self._test.vapi.ip_punt_redirect(punt=self.encode(), is_add=False)