cvs commit: src/sys/contrib/pf/net pf_ioctl.c

Max Laier mlaier at FreeBSD.org
Fri Jul 21 09:48:14 UTC 2006


mlaier      2006-07-21 09:48:13 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/pf/net   pf_ioctl.c 
  Log:
  Import from OpenBSD 1.168, dhartmei:
    fix a bug in the input sanity check of DIOCCHANGERULE (not used by pfctl,
    but third-party tools). a rule must have a non-empty replacement address
    list when it's a translation rule but not an anchor call (i.e. "nat ...
    ->" needs a replacement address, but "nat-anchor ..." doesn't). the check
    confused "rule is an anchor call" with "rule is defined within an anchor".
    report from Michal Mertl, Max Laier.
  
  Obtained from:  OpenBSD
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.25      +3 -2      src/sys/contrib/pf/net/pf_ioctl.c


More information about the cvs-src mailing list