summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/switch/tester.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py
index 22238b8d..f9075557 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: