* [PATCH] ppp: fix return of drop_packet for NETWORK phase
@ 2010-04-29 23:25 Kristen Carlson Accardi
2010-04-29 23:52 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Kristen Carlson Accardi @ 2010-04-29 23:25 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
---
gatchat/gatppp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index f200ae7..2446d4e 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;
}
--
1.6.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ppp: fix return of drop_packet for NETWORK phase
2010-04-29 23:25 [PATCH] ppp: fix return of drop_packet for NETWORK phase Kristen Carlson Accardi
@ 2010-04-29 23:52 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2010-04-29 23:52 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Hi Kristen,
> ---
> gatchat/gatppp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Patch applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-29 23:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 23:25 [PATCH] ppp: fix return of drop_packet for NETWORK phase Kristen Carlson Accardi
2010-04-29 23:52 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.