diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-01-01 17:31:43 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-01-01 17:31:43 +0000 |
| commit | 8d5c56dab1ae14d490b1783ba1816f4e1a839372 (patch) | |
| tree | e3cf15463d5fcce1598c08b45cd0f7dda95e8e09 /sys/netinet/ip_output.c | |
| parent | d3eae2a68ebac3d69e049ba2fed3609433d8cb12 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_output.c')
| -rw-r--r-- | sys/netinet/ip_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 3a064419fba45..b020e60ea349b 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -130,7 +130,7 @@ ip_output_pfil(struct mbuf **mp, struct ifnet *ifp, int flags, odst.s_addr = ip->ip_dst.s_addr; switch (pfil_run_hooks(V_inet_pfil_head, mp, ifp, pflags, inp)) { case PFIL_DROPPED: - *error = EPERM; + *error = EACCES; /* FALLTHROUGH */ case PFIL_CONSUMED: return 1; /* Finished */ |
