-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Trying to run an eBPF program fails in Python 3.12:
Exception in callback XDRFD.connection_made(<_SelectorDat...e, bufsize=0>>)
handle: <Handle XDRFD.connection_made(<_SelectorDat...e, bufsize=0>>)>
Traceback (most recent call last):
File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/home/tkcook/.pyenv/versions/dhcppython/lib/python3.12/site-packages/ebpfcat/xdp.py", line 61, in connection_made
sock.bind((0, 0))
^^^^^^^^^
AttributeError: 'TransportSocket' object has no attribute 'bind'
I haven't bisected this exactly but the error is not present in Python 3.8.20.
Metadata
Metadata
Assignees
Labels
No labels