summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gatchat/gatppp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index f200ae7d..2446d4e3 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -89,7 +89,7 @@ static inline gboolean ppp_drop_packet(GAtPPP *ppp, guint16 protocol)
case PPP_PHASE_DEAD:
return TRUE;
case PPP_PHASE_NETWORK:
- if (ppp->net == NULL)
+ if (ppp->net == NULL && protocol == PPP_IP_PROTO)
return TRUE;
break;
}