From 6f50cd475491973ae2dcc4fecb8e14cf137f03be Mon Sep 17 00:00:00 2001
From: Dirk Loss <mail@dirk-loss.de>
Date: Sun, 6 Dec 2009 13:11:18 +0100
Subject: [PATCH] Fixed PacketList NameError (ticket #323, reported by
 Paaskehare)

---
 scapy/arch/windows/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scapy/arch/windows/__init__.py b/scapy/arch/windows/__init__.py
index 05d6bfd5..56cb457c 100755
--- a/scapy/arch/windows/__init__.py
+++ b/scapy/arch/windows/__init__.py
@@ -521,7 +521,7 @@ L2socket: use the provided L2socket
         except KeyboardInterrupt:
             break
     s.close()
-    return PacketList(lst,"Sniffed")
+    return plist.PacketList(lst,"Sniffed")
 
 import scapy.sendrecv
 scapy.sendrecv.sniff = sniff
-- 
GitLab