diff --git a/run_scapy3 b/run_scapy3
old mode 100644
new mode 100755
diff --git a/scapy/arch/linux.py b/scapy/arch/linux.py
index a035f00f4369cc8a21da824e0e0ca646350e8661..6c7c8ed8e44ffa08e22e88c3f117e046182e00f2 100644
--- a/scapy/arch/linux.py
+++ b/scapy/arch/linux.py
@@ -163,7 +163,7 @@ def attach_filter(s, bpf_filter, iface):
     s.setsockopt(SOL_SOCKET, SO_ATTACH_FILTER, bpfh)
 
 def set_promisc(s,iff,val=1):
-    mreq = struct.pack("IHH8s", get_if_index(iff), PACKET_MR_PROMISC, 0, "")
+    mreq = struct.pack("IHH8s", get_if_index(iff), PACKET_MR_PROMISC, 0, b"")
     if val:
         cmd = PACKET_ADD_MEMBERSHIP
     else:
diff --git a/scapy/packet.py b/scapy/packet.py
index 12ba22c27ae79d08b98f017c3719025493057dd6..7bed20c801624f1bb6a5c1f3a431f964132a0d85 100644
--- a/scapy/packet.py
+++ b/scapy/packet.py
@@ -701,7 +701,7 @@ class Packet(six.with_metaclass(Packet_metaclass, BasePacket)):
             except:
                 if conf.debug_dissector:
                     if isinstance(cls,type) and issubclass(cls,Packet):
-                        log_runtime.error("%s dissector failed" % cls.name)
+                        log_runtime.error("%s dissector failed" % cls.__name__)
                     else:
                         log_runtime.error("%s.guess_payload_class() returned [%s]" % (self.__class__.__name__,repr(cls)))
                     if cls is not None: