This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PPP handling of unknown CI configuration requests


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]