From 01798a7439e3f03da5f1a033296140bae59b3671 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 29 Mar 2013 12:50:56 +0900 Subject: tests/unit/packet/test_tcp.py: typo UDP -> TCP TODO: test doesn't pass yet. Signed-off-by: Isaku Yamahata Signed-off-by: FUJITA Tomonori --- ryu/tests/unit/packet/test_tcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/packet/test_tcp.py b/ryu/tests/unit/packet/test_tcp.py index 978cb346..1214ab6b 100644 --- a/ryu/tests/unit/packet/test_tcp.py +++ b/ryu/tests/unit/packet/test_tcp.py @@ -95,7 +95,7 @@ class Test_tcp(unittest.TestCase): src_ip = int(netaddr.IPAddress('192.168.10.1')) dst_ip = int(netaddr.IPAddress('192.168.100.1')) prev = ipv4(4, 5, 0, 0, 0, 0, 0, 64, - inet.IPPROTO_UDP, 0, src_ip, dst_ip) + inet.IPPROTO_TCP, 0, src_ip, dst_ip) t = tcp(self.src_port, self.dst_port, self.seq, self.ack, offset, self.bits, self.window_size, csum, self.urgent) @@ -125,7 +125,7 @@ class Test_tcp(unittest.TestCase): src_ip = int(netaddr.IPAddress('192.168.10.1')) dst_ip = int(netaddr.IPAddress('192.168.100.1')) prev = ipv4(4, 5, 0, 0, 0, 0, 0, 64, - inet.IPPROTO_UDP, 0, src_ip, dst_ip) + inet.IPPROTO_TCP, 0, src_ip, dst_ip) t = tcp(self.src_port, self.dst_port, self.seq, self.ack, offset, self.bits, self.window_size, csum, self.urgent, -- cgit v1.2.3