HI all.

 

Now I'm tring to set dynamic IP address of target board by using DHCP
application.

 

1. In main(). 

I call the dhcp_init();

2. In dhcp_handler()

It calls the send_discovery();

3. I receive UDP packet from target board on my pc, of course I can see
packet data by using wireshark.

 

4. Ehternet packet is ok!. IP packet is also ok. But UDP packet is not .

Source port and Destination port are zero. 

Source port must be 68 and Destination port must be 67. right? 

But this is set in dhcp_init();

 

5. So I forced to set Src port and Dest port and send packet. 

But also it has zero src port and dest port. 

 

Is this bug? 

My Environment

uIP : 1.0

MCU : ATMEGA128

NIC : RTL8019AS

 

 

Reply via email to