diff options
| author | 2015-06-30 13:54:42 +0000 | |
|---|---|---|
| committer | 2015-06-30 13:54:42 +0000 | |
| commit | c38eb4ff3eceff3e8e4056a9172c0a485f73f1af (patch) | |
| tree | 8479661e74e50d24a83e966dec57ee6bb05a7319 /sys/net/if_ethersubr.c | |
| parent | Add tests for syslog -U. (diff) | |
| download | wireguard-openbsd-c38eb4ff3eceff3e8e4056a9172c0a485f73f1af.tar.xz wireguard-openbsd-c38eb4ff3eceff3e8e4056a9172c0a485f73f1af.zip | |
Rename if_output() into if_enqueue() to avoid confusion with comments
talking about (*ifp->if_output)().
ok claudio@, dlg@
Diffstat (limited to 'sys/net/if_ethersubr.c')
| -rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 5cbd6a62255..0f5b66ae9a7 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.211 2015/06/29 10:32:29 dlg Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.212 2015/06/30 13:54:42 mpi Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -263,7 +263,7 @@ ether_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, memcpy(eh->ether_dhost, edst, sizeof(eh->ether_dhost)); memcpy(eh->ether_shost, esrc, sizeof(eh->ether_shost)); - return (if_output(ifp, m)); + return (if_enqueue(ifp, m)); bad: if (m) m_freem(m); |
