diff --git a/ebpfcat/ethercat.py b/ebpfcat/ethercat.py index ffcfc27716258c2553c1bd3d2bef4a678b59f0da..baccc387a53c246f70c8316b1ce8f07ac1abc0f3 100644 --- a/ebpfcat/ethercat.py +++ b/ebpfcat/ethercat.py @@ -467,7 +467,6 @@ class EtherCat(Protocol): def connection_made(self, transport): """start the send loop once the connection is made""" - transport.get_extra_info("socket").bind(self.addr) self.transport = transport ensure_future(self.sendloop()) diff --git a/ebpfcat/xdp.py b/ebpfcat/xdp.py index 2f6135d6470d83d04aa4b0f310979c08d466587d..6837d0f8f0017a62920c52a01d221f487c341eda 100644 --- a/ebpfcat/xdp.py +++ b/ebpfcat/xdp.py @@ -58,7 +58,6 @@ class XDRFD(DatagramProtocol): def connection_made(self, transport): sock = transport.get_extra_info("socket") sock.setsockopt(270, 11, 1) - sock.bind((0, 0)) self.transport = transport # this was adopted from xdp1_user.c p = pack("IHHIIBxHiIiHHHHiHHI",