summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2000-03-29 00:14:21 +0000
committerbrian <brian@cvs.openbsd.org>2000-03-29 00:14:21 +0000
commit8bb61820d29933dbfacfc7c751271c5635d4c0b3 (patch)
tree7ac7b04ea64d02a08f4d7130c9f099e823e6f55e /usr.sbin
parentdb947dbbafacfd2a57ef64c01fc3fdd0fa2840c1 (diff)
Mention the value of the unexpected return code in nat_LayerPull()
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/nat_cmd.c4
1 files changed, 2 insertions, 2 deletions
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 <perhaps@yes.no>,
* 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 <sys/param.h>
@@ -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;