aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2004-02-15 21:27:27 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2004-02-15 21:27:27 +0000
commite790940191bd358e83b225dcc2ef6bd790e02254 (patch)
tree21a3f18e0d8dfc6f17d7d4db7b5b48e3f1cb6804 /sys
parenta82294d01c197cc000c3ee1506616649e9bad863 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_ethersubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 7af66b355454..835f5dcca476 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 */
}