summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2013-03-29 12:50:56 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-03-31 18:19:42 +0900
commit01798a7439e3f03da5f1a033296140bae59b3671 (patch)
treeb23fae944d7c21937ec00919f50df125144ea448
parent1439e2c341185aa89f55e7a252b631118ff5a2ab (diff)
tests/unit/packet/test_tcp.py: typo UDP -> TCP
TODO: test doesn't pass yet. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/unit/packet/test_tcp.py4
1 files 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,