git: net - Do not treat .0 addresses as broadcast by default
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Mar 3 21:32:02 PST 2025
commit e19910a835ea6f07910bfbdb9143808311495f75
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Mar 3 21:17:11 2025 -0800
net - Do not treat .0 addresses as broadcast by default
* DFly still had very old code that treats all 0's within an IPV4 subnet
as a broadcast address. This behavior stopped being used many years
ago.
* Add the net.inet.ip.broadcast_lowest sysctl, default to 0, disabling
the behavior and allowing .0 subnet addresses to be assigned to
hosts.
* Verified to fix the issue, same change was made in FreeBSD.
Taken-from: FreeBSD
Reported-by: Kyle Butt <kyle at iteratee.net>
Summary of changes:
sys/netinet/in.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e19910a835ea6f07910bfbdb9143808311495f75
--
DragonFly BSD source repository
More information about the Commits
mailing list