-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Through commit aef5eb9 macOS's behaviour for eth_open and other commands declared in include/dnet/eth.h has changed.
Before this, macOS was considered a bsd so src/eth-bsd.c was used to compile libdnet, but after this commit macOS is not considered as anything and is compiled with src/eth-none.c.
Therefore on macOS currently you cannot use eth_open command to open an ethernet port.
This behavior is due to the code snippet shown below taken from ./configure.
before
if test -c /dev/bpf0 ; then
ac_cv_dnet_bsd_bpf=yes
else
ac_cv_dnet_bsd_bpf=no
fi
after
if test -c /dev/bpf ; then
ac_cv_dnet_bsd_bpf=yes
else
ac_cv_dnet_bsd_bpf=no
fi
kernel information:
Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:46 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T8112 arm64
Metadata
Metadata
Assignees
Labels
No labels