summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-05-12 09:54:33 +0000
committerbrian <brian@FreeBSD.org>1999-05-12 09:54:33 +0000
commit827c4aedd619520abc8af6c91289236cd23d22ac (patch)
tree6b42a06ef5926400a20cb4a4f02be7eee66a6e98 /usr.sbin/ppp
parent89ce3ea906517d4df3f75dc7721280428c5e6159 (diff)
downloadFreeBSD-src-827c4aedd619520abc8af6c91289236cd23d22ac.zip
FreeBSD-src-827c4aedd619520abc8af6c91289236cd23d22ac.tar.gz
Oops - hook the sync push diagnostics correctly.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/sync.c b/usr.sbin/ppp/sync.c
index a65b512..4f6afe0 100644
--- a/usr.sbin/ppp/sync.c
+++ b/usr.sbin/ppp/sync.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sync.c,v 1.1 1999/05/08 11:07:40 brian Exp $
+ * $Id: sync.c,v 1.2 1999/05/12 09:49:02 brian Exp $
*/
#include <sys/types.h>
@@ -49,7 +49,7 @@
#include "physical.h"
static struct mbuf *
-async_LayerPush(struct bundle *bundle, struct link *l, struct mbuf *bp,
+sync_LayerPush(struct bundle *bundle, struct link *l, struct mbuf *bp,
int pri, u_short *proto)
{
log_DumpBp(LogSYNC, "Write", bp);
@@ -75,4 +75,4 @@ sync_LayerPull(struct bundle *b, struct link *l, struct mbuf *bp,
return bp;
}
-struct layer synclayer = { LAYER_SYNC, "sync", NULL, sync_LayerPull };
+struct layer synclayer = { LAYER_SYNC, "sync", sync_LayerPush, sync_LayerPull };
OpenPOWER on IntegriCloud