diff options
author | brian <brian@cvs.openbsd.org> | 2002-07-02 00:13:20 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 2002-07-02 00:13:20 +0000 |
commit | 0059a10758b7f378c18ca95a047b7a93b3f26cd5 (patch) | |
tree | c1b111b19ade7524987038d589cf1abc90e12479 | |
parent | 5dca0670d1f92a9364a99ac406bbcc14cc4598f5 (diff) |
Remove some misleading/wrong diagnostics
-rw-r--r-- | usr.sbin/ppp/ppp/ccp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/ppp/ppp/ccp.c b/usr.sbin/ppp/ppp/ccp.c index 334d7da196e..54616323b19 100644 --- a/usr.sbin/ppp/ppp/ccp.c +++ b/usr.sbin/ppp/ppp/ccp.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: ccp.c,v 1.29 2002/06/15 08:02:00 brian Exp $ + * $OpenBSD: ccp.c,v 1.30 2002/07/02 00:13:19 brian Exp $ */ #include <sys/param.h> @@ -746,8 +746,6 @@ ccp_LayerPull(struct bundle *b, struct link *l, struct mbuf *bp, u_short *proto) */ if (l->ccp.fsm.state == ST_OPENED) { if (*proto == PROTO_COMPD || *proto == PROTO_ICOMPD) { - log_Printf(LogDEBUG, "ccp_LayerPull: PROTO_%sCOMPDP -> PROTO_IP\n", - *proto == PROTO_ICOMPD ? "I" : ""); /* Decompress incoming data */ if (l->ccp.reset_sent != -1) /* Send another REQ and put the packet in the bit bucket */ @@ -769,12 +767,10 @@ ccp_LayerPull(struct bundle *b, struct link *l, struct mbuf *bp, u_short *proto) m_freem(bp); bp = NULL; } else if (PROTO_COMPRESSIBLE(*proto) && l->ccp.in.state != NULL) { - log_Printf(LogDEBUG, "ccp_LayerPull: Ignore packet (dict only)\n"); /* Add incoming Network Layer traffic to our dictionary */ (*algorithm[l->ccp.in.algorithm]->i.DictSetup) (l->ccp.in.state, &l->ccp, *proto, bp); - } else - log_Printf(LogDEBUG, "ccp_LayerPull: Ignore packet\n"); + } } return bp; |