mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 22:36:10 +02:00
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>
This commit is contained in:
parent
1439e2c341
commit
01798a7439
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user