From 5080511bef88ba1d19cd5164dcadfa6688a97358 Mon Sep 17 00:00:00 2001 From: Pierre LALET <pierre.lalet@cea.fr> Date: Sat, 6 Feb 2016 15:20:13 +0100 Subject: [PATCH] Load LLTD layer by default --- scapy/config.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scapy/config.py b/scapy/config.py index 39d476b6..8e250432 100755 --- a/scapy/config.py +++ b/scapy/config.py @@ -372,11 +372,13 @@ extensions_paths: path or list of paths where extensions are to be looked for stats_dot11_protocols = [] temp_files = [] netcache = NetCache() - load_layers = ["l2", "inet", "dhcp", "dns", "dot11", "gprs", "hsrp", "inet6", "ir", "isakmp", "l2tp", - "mgcp", "mobileip", "netbios", "netflow", "ntp", "ppp", "radius", "rip", "rtp", - "skinny", "smb", "snmp", "tftp", "x509", "bluetooth", "dhcp6", "llmnr", "sctp", "vrrp", - "ipsec" ] - + load_layers = ["l2", "inet", "dhcp", "dns", "dot11", "gprs", + "hsrp", "inet6", "ir", "isakmp", "l2tp", "mgcp", + "mobileip", "netbios", "netflow", "ntp", "ppp", + "radius", "rip", "rtp", "skinny", "smb", "snmp", + "tftp", "x509", "bluetooth", "dhcp6", "llmnr", + "sctp", "vrrp", "ipsec", "lltd" ] + if not Conf.ipv6_enabled: log_scapy.warning("IPv6 support disabled in Python. Cannot load scapy IPv6 layers.") -- GitLab