revert rev 1.7 (which removed the fd_local field from frdest_t).
this structure is part of the kernel/user ABI and so we would need to version the ioctl ABI again in order to remove this field. but that's a big pain so let's just leave the field there. the problem that was being fixed in FreeBSD related to this was a failure to locate filter rules in certain situations, but having an unused always-zero field there won't cause that problem.
This commit is contained in:
parent
cfc9dfaf24
commit
9be678b1cd
3
sys/external/bsd/ipf/netinet/ip_fil.h
vendored
3
sys/external/bsd/ipf/netinet/ip_fil.h
vendored
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ip_fil.h,v 1.7 2019/06/26 15:26:57 christos Exp $ */
|
||||
/* $NetBSD: ip_fil.h,v 1.8 2019/11/11 19:33:43 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2012 by Darren Reed.
|
||||
@ -576,6 +576,7 @@ typedef struct frdest {
|
||||
addrfamily_t fd_addr;
|
||||
fr_dtypes_t fd_type;
|
||||
int fd_name;
|
||||
int fd_unused; /* part of the kernel/user ABI */
|
||||
} frdest_t;
|
||||
|
||||
#define fd_ip6 fd_addr.adf_addr
|
||||
|
Loading…
Reference in New Issue
Block a user