This fixes the problem of the payload being always shown when another field differs between ingress and egress test.
Signed-off-by: Monthadar Al Jaberi <monthadar.al-jab...@infinera.com> --- ryu/tests/switch/tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 22238b8..f907555 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -972,7 +972,7 @@ class OfTester(app_manager.RyuApp): else: model_p = '' for p in model_pkt.protocols: - if isinstance(rcv_p, six.binary_type): + if isinstance(p, six.binary_type): model_p = p break if model_p != rcv_p: ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel