diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-03-14 22:23:09 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2019-03-14 22:23:09 +0000 |
commit | 1830dae3d3a9fbd5d27117b40bbe4a2242b98ae6 (patch) | |
tree | e72e478c0fb8c7f312d596de1ce2b4c32ee14e05 /sys/netinet/ip_divert.c | |
parent | 2d0232783cb2f02b0a733cca06f62cdccfb22f66 (diff) | |
download | src-1830dae3d3a9fbd5d27117b40bbe4a2242b98ae6.tar.gz src-1830dae3d3a9fbd5d27117b40bbe4a2242b98ae6.zip |
Make second argument of ip_divert(), that specifies packet direction a bool.
This allows pf(4) to avoid including ipfw(4) private files.
Notes
Notes:
svn path=/head/; revision=345161
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r-- | sys/netinet/ip_divert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index adae174e404a..7b76ff0ca7d1 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -184,7 +184,7 @@ div_input(struct mbuf **mp, int *offp, int proto) * then pass them along with mbuf chain. */ static void -divert_packet(struct mbuf *m, int incoming) +divert_packet(struct mbuf *m, bool incoming) { struct ip *ip; struct inpcb *inp; |