Skip to contentSkip to conversation

ppp: fix return of drop_packet for NETWORK phase

PATCH In review Kristen Carlson Accardi 2 participants 2 messages Apr 29, 2010

lore
Share & tools
lore
#0 lore raw

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
index f200ae7..2446d4e 100644
@@ -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
#1 lore raw

Hi Kristen,

Quoted 3 lines
---
 gatchat/gatppp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch applied, thanks.

Regards,
-Denis