-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
不知道我是否理解出错。
对 Ping Error 的检验逻辑中,因为 ping 的是无效地址(192.168.2.3),因此不会收到回复包。
但在 strict_mode == True 的情况下,会判定结果的 seq 序列错误,而事实上其并无 seq 的属性。
希望改进 test_ping 函数中的逻辑。
运行结果如下:
client ping 192.168.2.3
Icmp Seq not correct!
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.
--- 192.168.2.3 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3065ms
Metadata
Metadata
Assignees
Labels
No labels