From 723c8f35495e94ca5f2e44ddb40a647cdc26553e Mon Sep 17 00:00:00 2001 From: Stephen Cope Date: Fri, 8 Sep 2017 22:41:38 +0800 Subject: [PATCH] fix usage example --- doc/scapy/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scapy/usage.rst b/doc/scapy/usage.rst index 0914939f9..4abf75efd 100644 --- a/doc/scapy/usage.rst +++ b/doc/scapy/usage.rst @@ -1386,7 +1386,7 @@ Use Scapy to send a DHCP discover request and analyze the replies:: In this case we got 2 replies, so there were two active DHCP servers on the test network:: - >>> ans.summarize() + >>> ans.summary() Ether / IP / UDP 0.0.0.0:bootpc > 255.255.255.255:bootps / BOOTP / DHCP ==> Ether / IP / UDP 192.168.1.1:bootps > 255.255.255.255:bootpc / BOOTP / DHCP Ether / IP / UDP 0.0.0.0:bootpc > 255.255.255.255:bootps / BOOTP / DHCP ==> Ether / IP / UDP 192.168.1.11:bootps > 255.255.255.255:bootpc / BOOTP / DHCP }}}