Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 12:27:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 223208] [pf] pf.conf syntax (:peer) rules load incorrectly
Message-ID:  <bug-223208-16861-KnaAeKhkyu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223208-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223208-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223208

--- Comment #13 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kp
Date: Wed Nov 15 12:27:02 UTC 2017
New revision: 325850
URL: https://svnweb.freebsd.org/changeset/base/325850

Log:
  pfctl: teach route-to to deal with interfaces with multiple addresses

  The route_host parsing code set the interface name, but only for the first
  node_host in the list. If that one happened to be the inet6 address and t=
he
  rule wanted an inet address it'd get removed by remove_invalid_hosts() la=
ter
  on, and we'd have no interface name.

  We must set the interface name for all node_host entries in the list, not
just
  the first one.

  PR:           223208
  MFC after:    2 weeks

Changes:
  head/sbin/pfctl/parse.y

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223208-16861-KnaAeKhkyu>