mirror of git://git.sysmocom.de/ofono
ppp: fix return of drop_packet for NETWORK phase
This commit is contained in:
parent
95e0a15010
commit
5ef90f934b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue