Index: net/scapy/files/patch-scapy_arch_bpf_core.py =================================================================== --- /dev/null +++ net/scapy/files/patch-scapy_arch_bpf_core.py @@ -0,0 +1,11 @@ +--- scapy/arch/bpf/core.py.orig 2021-05-11 09:52:06 UTC ++++ scapy/arch/bpf/core.py +@@ -80,7 +80,7 @@ def get_if_raw_addr(ifname): + ] + + if not addresses: +- warning("No IPv4 address found on %s !", ifname) ++ #warning("No IPv4 address found on %s !", ifname) + return b"\0\0\0\0" + + # Pack the first address Index: net/scapy/files/patch-scapy_layers_l2.py =================================================================== --- /dev/null +++ net/scapy/files/patch-scapy_layers_l2.py @@ -0,0 +1,11 @@ +--- scapy/layers/l2.py.orig 2021-05-11 09:51:47 UTC ++++ scapy/layers/l2.py +@@ -171,7 +171,7 @@ class DestMACField(MACField): + raise ScapyNoDstMacException() + else: + x = "ff:ff:ff:ff:ff:ff" +- warning("Mac address to reach destination not found. Using broadcast.") # noqa: E501 ++ #warning("Mac address to reach destination not found. Using broadcast.") # noqa: E501 + return super(DestMACField, self).i2h(pkt, x) + + def i2m(self, pkt, x): Index: net/scapy/files/patch-scapy_route6.py =================================================================== --- /dev/null +++ net/scapy/files/patch-scapy_route6.py @@ -0,0 +1,26 @@ +--- scapy/route6.py.orig 2021-01-24 12:50:26 UTC ++++ scapy/route6.py +@@ -277,8 +277,8 @@ class Route6: + # Fallback #3 - the loopback + dev = conf.loopback_name + +- warning("The conf.iface interface (%s) does not support IPv6! " +- "Using %s instead for routing!" % (conf.iface, dev)) ++ #warning("The conf.iface interface (%s) does not support IPv6! " ++ #"Using %s instead for routing!" % (conf.iface, dev)) + + # Deal with dev-specific request for cache search + k = dst +@@ -305,9 +305,9 @@ class Route6: + if dst == "::1": + return (conf.loopback_name, "::1", "::") + else: +- if verbose: +- warning("No route found for IPv6 destination %s " +- "(no default route?)", dst) ++ #if verbose: ++ #warning("No route found for IPv6 destination %s " ++ #"(no default route?)", dst) + return (conf.loopback_name, "::", "::") + + # Sort with longest prefix first then use metrics as a tie-breaker