git: DragonFly_RELEASE_6_4 net - Do not treat .0 addresses as broadcast by default
Aaron LI
aly at crater.dragonflybsd.org
Sun Mar 16 22:05:12 PDT 2025
commit 80cbe2e25b76b5ee77924ee0dd785471a37b2f69
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/80cbe2e25b76b5ee77924ee0dd785471a37b2f69
--
DragonFly BSD source repository
More information about the Commits
mailing list