diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-09-06 18:20:26 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-09-06 18:20:26 +0000 |
commit | 19c566804cf7fe75165958e7bccd4b221091c1ed (patch) | |
tree | ce89f4cd7bca54d7717a04b7f56b19134e60c204 | |
parent | f914f3c09c8a022b06ce27452f9ef0c258bcbcc6 (diff) | |
download | src-19c566804cf7fe75165958e7bccd4b221091c1ed.tar.gz src-19c566804cf7fe75165958e7bccd4b221091c1ed.zip |
Make the ``Problem with IP header length'' error a bit more verbose
Notes
Notes:
svn path=/head/; revision=51027
-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 2083910324f7..0439042ba874 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 2083910324f7..0439042ba874 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; } |