mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-18 14:24:05 +01:00
13 lines
417 B
Diff
13 lines
417 B
Diff
http://hg.secdev.org/scapy/rev/443b35c8c6de
|
|
|
|
Fixed startup config file reading problem when scapy is used as a library
|
|
|
|
--- scapy.py.orig 2008-01-30 19:47:55.000000000 +0300
|
|
+++ scapy.py 2008-01-30 19:48:42.000000000 +0300
|
|
@@ -12190,4 +12190,5 @@
|
|
if __name__ == "__main__":
|
|
interact()
|
|
else:
|
|
- read_config_file(DEFAULT_CONFIG_FILE)
|
|
+ if DEFAULT_CONFIG_FILE:
|
|
+ read_config_file(DEFAULT_CONFIG_FILE)
|