[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Problems using "chargen" sample code
From: |
Maddala Subrahmanyam |
Subject: |
[lwip-users] Problems using "chargen" sample code |
Date: |
Mon, 24 Jan 2005 05:44:07 -0800 (PST) |
Hi Haas,
Thanks for your quick reply.
I did some debugging myself and found finally the problem is because of missing flag setting.
netif->flags |= NETIF_FLAG_UP;
The tap0 driver (/contrib/ports/unix/netif/tapif.c - low_level_init() doesn't bother to set the network interface flag up after it successfully sets the IP. I don't know if it is a bug in the existing code.
I set the flag up for the newly created tap0 interface and now the sample code works like a champ.
Thanks a lot for the sample code.
-Maddala
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'