diff options
-rw-r--r-- | sys/net/if_ethersubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 7af66b3..835f5dc 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -340,7 +340,7 @@ ether_output_frame(struct ifnet *ifp, struct mbuf *m) if (ether_ipfw_chk(&m, ifp, &rule, 0) == 0) { if (m) { m_freem(m); - return ENOBUFS; /* pkt dropped */ + return EACCES; /* pkt dropped */ } else return 0; /* consumed e.g. in a pipe */ } |