From: brian Date: Wed, 29 Mar 2000 00:14:20 +0000 (+0000) Subject: Mention the value of the unexpected return code in nat_LayerPull() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b89e37357e6782d8c781ad254e02f02f4d0145c9;p=openbsd Mention the value of the unexpected return code in nat_LayerPull() --- diff --git a/usr.sbin/ppp/ppp/nat_cmd.c b/usr.sbin/ppp/ppp/nat_cmd.c index 955bcce02db..251c59bd4d8 100644 --- a/usr.sbin/ppp/ppp/nat_cmd.c +++ b/usr.sbin/ppp/ppp/nat_cmd.c @@ -2,7 +2,7 @@ * The code in this file was written by Eivind Eklund , * who places it in the public domain without restriction. * - * $OpenBSD: nat_cmd.c,v 1.6 2000/03/19 12:38:19 brian Exp $ + * $OpenBSD: nat_cmd.c,v 1.7 2000/03/29 00:14:20 brian Exp $ */ #include @@ -424,7 +424,7 @@ nat_LayerPull(struct bundle *bundle, struct link *l, struct mbuf *bp, break; default: - log_Printf(LogWARN, "nat_LayerPull: Dropped a packet....\n"); + log_Printf(LogWARN, "nat_LayerPull: Dropped a packet (%d)....\n", ret); m_freem(bp); bp = NULL; break;