Mention the value of the unexpected return code in nat_LayerPull()
authorbrian <brian@openbsd.org>
Wed, 29 Mar 2000 00:14:20 +0000 (00:14 +0000)
committerbrian <brian@openbsd.org>
Wed, 29 Mar 2000 00:14:20 +0000 (00:14 +0000)
usr.sbin/ppp/ppp/nat_cmd.c

index 955bcce..251c59b 100644 (file)
@@ -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;