[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	henning_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/03/19 08:56:08

Modified files:
	sbin/pfctl     : pfctl_parser.c 

Log message:
inet_net_pton acts weird when it comes to multicast addresses. so pass the
netmask given by the OP to host_v4(), and in case it wasn't specified, do
not trust inet_net_pton telling is it is a /4 but use /32. otherwise, "pass
in from" suddenly became "pass in from", which is
clearly not the desired result.
inet_net_pton behaviour under investigation, using the least intrusive fix
for now.

found after bug report From: Julien Bordet <zejames_(_at_)_greyhats_(_dot_)_org> via dhartmei

ok daniel cedric