From cc165246d9951b50c031b210d3626b086e30f040 Mon Sep 17 00:00:00 2001 From: Dirk Loss <mail@dirk-loss.de> Date: Fri, 20 Feb 2009 21:43:30 +0100 Subject: [PATCH] Converted an import statement in an example to Scapy v2 --- 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 50c749e0..fa177e39 100644 --- a/doc/scapy/usage.rst +++ b/doc/scapy/usage.rst @@ -931,7 +931,7 @@ This program uses the ``sniff()`` callback (paramter prn). The store parameter i :: #! /usr/bin/env python - from scapy import * + from scapy.all import * def arp_monitor_callback(pkt): if ARP in pkt and pkt[ARP].op in (1,2): #who-has or is-at -- GitLab