DragonFly lists "echo 4/ddp" before "echo 7/tcp" in /etc/services, like
FreeBSD, so avoid the "echo" service there too.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# protocol, at least for modern Linuxes.
if (
sys.platform.startswith(
- ('linux', 'android', 'freebsd', 'netbsd', 'gnukfreebsd'))
+ ('linux', 'android', 'freebsd', 'dragonfly', 'netbsd',
+ 'gnukfreebsd'))
or is_apple
):
# avoid the 'echo' service on this platform, as there is an