From d3648de76240e724515965e6ce633459a8c70418 Mon Sep 17 00:00:00 2001
From: Dirk Loss <mail@dirk-loss.de>
Date: Fri, 30 Oct 2009 22:34:19 +0100
Subject: [PATCH] Fixed run_scapy.bat to work under Python 2.6

The old batch file worked on Python 2.5 but lead to the
following error under Python 2.6:
c:\Python26\python.exe: scapy is a package and cannot be directly executed
New file should work under both versions.
---
 run_scapy.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_scapy.bat b/run_scapy.bat
index 6c7cf929..ba19aa5e 100644
--- a/run_scapy.bat
+++ b/run_scapy.bat
@@ -1,3 +1,3 @@
 @echo off
 set PYTHONPATH=%cd% 
-python -m scapy
+python -m scapy.__init__
-- 
GitLab