This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
PPP handling of unknown CI configuration requests
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 16 Apr 2004 12:49:05 +0200
- Subject: [ECOS] PPP handling of unknown CI configuration requests
- Organization: Zylin AS
I'm trying to get PPP to work against Windows and although I know very
little about PPP, I get the impression from glossing over the PPP RFC
that unknown CI configuration requests should be silently ignored.
My debug sessions indicate that the link isn't quite as quickly shut
down at least.
--
Øyvind Harboe
http://www.zylin.com
Index: current/src/lcp.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/ppp/current/src/lcp.c,v
retrieving revision 1.1
diff -a -w -u -r1.1 lcp.c
--- current/src/lcp.c 14 Apr 2004 15:09:00 -0000 1.1
+++ current/src/lcp.c 16 Apr 2004 10:44:47 -0000
@@ -1450,6 +1450,14 @@
ho->neg_accompression = 1;
break;
+ case 17:
+ case 19:
+ case 23:
+ case CI_CALLBACK:
+ // FIX!!! silently ignore for now to get Windows PPP server
+ // to work.
+ break;
+
default:
LCPDEBUG((LOG_INFO, "lcp_reqci: rcvd unknown option %d",
citype));
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss