[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Henning Brauer <henning_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 19 Mar 2003 08:56:08 -0700 (MST)
CVSROOT: /cvs
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 224.0.0.6" suddenly became "pass in from 224.0.0.0/4", 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
Visit your host, monkey.org