* fix pppd if no chat support enabled
@ 2008-08-20 9:21 Rainer Arndt
2008-08-20 14:48 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: Rainer Arndt @ 2008-08-20 9:21 UTC (permalink / raw)
To: ecos-patches
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
Hi,
Compiling pppd.c fails if no chat support is enabled.
I've applied a patch which add CYGPKG_PPP_CHAT dependency for the
cyg_ppp_chat call.
Regards
Rainer
--
Kieback&Peter GmbH & Co. KG
Tempelhofer Weg 50
12347 Berlin
Tel.: +49 - 30 - 60095 345
Fax: +49 - 30 - 60095 540
arndt-adt@kieback-peter.de
www.kieback-peter.de
Amtsgericht Charlottenburg, HRA 9371
Geschäftsführer: Dipl.-Ing. Joachim-Friedrich Laeger, Dr.-Ing. Joachim
Horst Laeger
Komplementärin: Laeger GmbH
Tempelhofer Weg 50
12347 Berlin
Amtsgericht Charlottenburg, HRB 6219
[-- Attachment #2: pppd_chat.patch --]
[-- Type: text/plain, Size: 1487 bytes --]
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/ppp/current/ChangeLog,v
retrieving revision 1.18
diff -u -r1.18 ChangeLog
--- ChangeLog 1 May 2008 10:16:16 -0000 1.18
+++ ChangeLog 20 Aug 2008 09:01:00 -0000
@@ -1,3 +1,9 @@
+2008-08-19 Rainer Arndt <Arndt-ADT@kieback-peter.de>
+
+ * src/pppd.c (cyg_pppd_main): CYGPKG_PPP_CHAT must be enabled
+ to call cyg_ppp_chat()
+
+
2008-04-28 Daniel Néri <daniel.neri@sigicom.com>
* src/ipcp.c (ipcp_init): Negotiate both primary and secondary DNS
Index: src/pppd.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/ppp/current/src/pppd.c,v
retrieving revision 1.6
diff -u -r1.6 pppd.c
--- src/pppd.c 30 Jul 2005 13:21:01 -0000 1.6
+++ src/pppd.c 20 Aug 2008 08:25:46 -0000
@@ -316,6 +316,7 @@
/* set line speed, flow control, etc.; clear CLOCAL if modem option */
set_up_tty(tty_handle, 0);
+#ifdef CYGPKG_PPP_CHAT
if( script != NULL )
{
if( !cyg_ppp_chat( devnam, script ) )
@@ -324,6 +325,7 @@
goto fail;
}
}
+#endif
#ifdef CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS
if( modem )
@@ -370,7 +372,9 @@
clean_check();
disestablish_ppp(tty_handle);
+#ifdef CYGPKG_PPP_CHAT
fail:
+#endif
if (tty_handle != 0)
close_tty();
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fix pppd if no chat support enabled
2008-08-20 9:21 fix pppd if no chat support enabled Rainer Arndt
@ 2008-08-20 14:48 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2008-08-20 14:48 UTC (permalink / raw)
To: Rainer Arndt; +Cc: ecos-patches
Rainer Arndt wrote:
> Hi,
>
> Compiling pppd.c fails if no chat support is enabled.
> I've applied a patch which add CYGPKG_PPP_CHAT dependency for the
> cyg_ppp_chat call.
Applied, thanks!
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-20 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-20 9:21 fix pppd if no chat support enabled Rainer Arndt
2008-08-20 14:48 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).