ppp: fix return of drop_packet for NETWORK phase

This commit is contained in:
Kristen Carlson Accardi 2010-04-29 16:25:50 -07:00 committed by Denis Kenzior
parent 95e0a15010
commit 5ef90f934b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}