lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] ppp + netif bug?


From: Anoulak Kictiraz
Subject: [lwip-users] ppp + netif bug?
Date: Wed, 27 Oct 2004 17:27:04 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

Hi folks,

I listened just the mailinglist, but now i have some questions.
Our campany use eCos+lwip stack on ARM-TDI. I updated yesterday the lwip from CVS. The IP-layer will not work with ppp, because the net interface of ppp was not up.
The statment of file ip.c (line 237) show below:
   /* interface is up and configured? */
   if ((netif_is_up(netif)) && (!ip_addr_isany(&(netif->ip_addr))))
and this was not set when the ppp link was up.
Fix could be:
   int sifup(int pd){
         .....
if (netif_add(&pc->netif, &pc->addrs.our_ipaddr, &pc->addrs.netmask, &pc->addrs.his_ipaddr, (void *)pd, pppifNetifInit, ip_input)) {
               netif_set_up(&pc->netif);
            ....
            }
         ....
   }
Can someone confirm this problem?

Regards,

Anoulak

--

_____ FALCOM GmbH ______________________________________________________

Dipl.-Inf. Anoulak Kictiraz

Software Engineer
R&D Department

Phone:   +49 3677 8042 0
Fax:     +49 3677 8042 215
E-mail:  address@hidden

Address: Gewerbering 6, 98704 Langewiesen, Germany

______________________________ www.falcom.de ___________________________

This e-mail and any files transmitted are the property of FALCOM and/or
its affiliates, are confidential, and are intended solely for the use of
the individual or entity to whom this e-mail is addressed. If you are
not one of the named recipients or otherwise have reason to believe that
you have received this e-mail in error, please notify the sender and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]