Mercurial > nand-ecoscentric
changeset 2531:cc005a9f3575
* src/pppd.c (cyg_pppd_main): CYGPKG_PPP_CHAT must be enabled
to call cyg_ppp_chat()
| author | jlarmour |
|---|---|
| date | Wed, 20 Aug 2008 14:47:13 +0000 |
| parents | 54ab5a936365 |
| children | af5755a0cc71 |
| files | packages/net/ppp/current/ChangeLog packages/net/ppp/current/src/pppd.c |
| diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/ppp/current/ChangeLog +++ b/packages/net/ppp/current/ChangeLog @@ -1,3 +1,8 @@ +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
--- a/packages/net/ppp/current/src/pppd.c +++ b/packages/net/ppp/current/src/pppd.c @@ -316,6 +316,7 @@ cyg_pppd_main(CYG_ADDRWORD arg) /* 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 @@ cyg_pppd_main(CYG_ADDRWORD arg) goto fail; } } +#endif #ifdef CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS if( modem ) @@ -370,7 +372,9 @@ cyg_pppd_main(CYG_ADDRWORD arg) clean_check(); disestablish_ppp(tty_handle); +#ifdef CYGPKG_PPP_CHAT fail: +#endif if (tty_handle != 0) close_tty();
