diff options
author | brian <brian@FreeBSD.org> | 2001-11-23 17:19:27 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-11-23 17:19:27 +0000 |
commit | e37212b65332aa0be86109565050259dd397d661 (patch) | |
tree | 1da3ec9181b6762de785370771bfb70b849e2ee1 /usr.sbin/wlconfig | |
parent | ee9d3747a114fa9cdb6fcd9397a2e7c174489944 (diff) | |
download | FreeBSD-src-e37212b65332aa0be86109565050259dd397d661.zip FreeBSD-src-e37212b65332aa0be86109565050259dd397d661.tar.gz |
Be paranoid about non-zero netmasks being associated with INET addresses
of 0.0.0.0.
The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with
RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes
(with an address family of zero). ppp was getting confused by this
and ending up interpreting it as a 0.0.0.0/32 routing table
destination and subsequently failing to do anything with the route.
Specifically, after this fix, ppp under OpenBSD can successfully
change and delete the default route again !
Diffstat (limited to 'usr.sbin/wlconfig')
0 files changed, 0 insertions, 0 deletions