diff options
author | brian <brian@FreeBSD.org> | 1999-09-06 18:20:26 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-09-06 18:20:26 +0000 |
commit | ea21e67db9c7e5cb3122afe8d20171fab568faa8 (patch) | |
tree | 004cc344333297a024da4e54df188f879946fdf0 | |
parent | 029c9bc2f500e01e15206aa38ec062dfbdc18f5a (diff) | |
download | FreeBSD-src-ea21e67db9c7e5cb3122afe8d20171fab568faa8.zip FreeBSD-src-ea21e67db9c7e5cb3122afe8d20171fab568faa8.tar.gz |
Make the ``Problem with IP header length'' error a bit more verbose
-rw-r--r-- | usr.sbin/ppp/alias_cmd.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/nat_cmd.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/alias_cmd.c b/usr.sbin/ppp/alias_cmd.c index 2083910..0439042 100644 --- a/usr.sbin/ppp/alias_cmd.c +++ b/usr.sbin/ppp/alias_cmd.c @@ -391,7 +391,8 @@ nat_LayerPull(struct bundle *bundle, struct link *l, struct mbuf *bp, bp->cnt = ntohs(pip->ip_len); if (bp->cnt > MAX_MRU) { - log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length\n"); + log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length (%d)\n", + bp->cnt); mbuf_Free(bp); return NULL; } diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c index 2083910..0439042 100644 --- a/usr.sbin/ppp/nat_cmd.c +++ b/usr.sbin/ppp/nat_cmd.c @@ -391,7 +391,8 @@ nat_LayerPull(struct bundle *bundle, struct link *l, struct mbuf *bp, bp->cnt = ntohs(pip->ip_len); if (bp->cnt > MAX_MRU) { - log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length\n"); + log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length (%d)\n", + bp->cnt); mbuf_Free(bp); return NULL; } |