TODO: test doesn't pass yet.

Signed-off-by: Isaku Yamahata <[email protected]>
---
 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 978cb34..1214ab6 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,
-- 
1.7.10.4


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to