summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-06-30 13:54:42 +0000
committermpi <mpi@openbsd.org>2015-06-30 13:54:42 +0000
commitc38eb4ff3eceff3e8e4056a9172c0a485f73f1af (patch)
tree8479661e74e50d24a83e966dec57ee6bb05a7319 /sys/net/if_spppsubr.c
parentAdd tests for syslog -U. (diff)
downloadwireguard-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_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 145805319ff..b6f94f95bf9 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.134 2015/06/16 11:09:39 mpi Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.135 2015/06/30 13:54:42 mpi Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -788,7 +788,7 @@ sppp_output(struct ifnet *ifp, struct mbuf *m,
* Queue message on interface, and start output if interface
* not yet active.
*/
- rv = if_output(ifp, m);
+ rv = if_enqueue(ifp, m);
if (rv != 0) {
ifp->if_oerrors++;
return (rv);