In r343631 error code for a packet blocked by a firewall was
changed from EACCES to EPERM. This change was not intentional, so fix that. Return EACCESS if a firewall forbids sending. Noticed by: ae
This commit is contained in:
parent
8d5c56dab1
commit
e00ee1a9f4
@ -898,7 +898,7 @@ again:
|
||||
ip6 = mtod(m, struct ip6_hdr *);
|
||||
break;
|
||||
case PFIL_DROPPED:
|
||||
error = EPERM;
|
||||
error = EACCES;
|
||||
/* FALLTHROUGH */
|
||||
case PFIL_CONSUMED:
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user