diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2018-10-28 05:32:50 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2018-10-28 05:32:50 +0000 |
| commit | 99eb00558a73186924b3dce77c96687bb0cb6b48 (patch) | |
| tree | 3a51fb2ed9db60af9c7ce826aea85ffd495bc229 /sys | |
| parent | f64bccc6d92b6e45d8d2765f89a64f4ffc27496c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netpfil/pf/pf_if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf_if.c b/sys/netpfil/pf/pf_if.c index 4e3689c9d855..599f80cf7f13 100644 --- a/sys/netpfil/pf/pf_if.c +++ b/sys/netpfil/pf/pf_if.c @@ -553,7 +553,8 @@ pfi_instance_add(struct ifnet *ifp, int net, int flags) if ((flags & PFI_AFLAG_PEER) && !(ifp->if_flags & IFF_POINTOPOINT)) continue; - if ((flags & PFI_AFLAG_NETWORK) && af == AF_INET6 && + if ((flags & (PFI_AFLAG_NETWORK | PFI_AFLAG_NOALIAS)) && + af == AF_INET6 && IN6_IS_ADDR_LINKLOCAL( &((struct sockaddr_in6 *)ia->ifa_addr)->sin6_addr)) continue; |
