ppp: fix return of drop_packet for NETWORK phase
PATCH 1/1 ppp: fix return of drop_packet for NETWORK phase
--- gatchat/gatppp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
gatchat/gatppp.c +1 -1
@@ -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 ; }
Signature · 1 line
1.6.6.1
Hi Kristen,
Quoted 3 lines
--- gatchat/gatppp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Patch applied, thanks.
Regards,
-Denis