lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] DHCP erratum


From: leon . woestenberg
Subject: [lwip-users] [lwip] DHCP erratum
Date: Wed, 08 Jan 2003 22:23:28 -0000

Hello Adam,

I forgot to call pcb->recv(). Corrected for udp.c/udp_input():

#if (LWIP_DHCP > 0)
    // pcb that accepts DHCP msg from DHCP server port?
          if((pcb->local_port == udphdr->dest) && (udphdr->src ==
DHCP_SERVER_PORT))
          {
      pcb->recv(pcb->recv_arg, pcb, p, &(iphdr->src), udphdr->src);
      DEBUGF(UDP_DEBUG, ("udp_input: match on DHCP server packet\n"));
            return;
          }
#endif

Regards,

Leon Woestenberg

Axon Digital Design
Phone: +31 13 511 6666
Fax: +31 13 511 4151
web: www.axon.tv

=====================================================================================================

The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. Axon Digital Design Group is neither liable for the proper nor
for the complete transmission of the information contained in this
communication nor for any delay in its receipt. Axon Digital Design Group
does not guarantee that the integrity of this communication has been
maintained nor that the communication is free of viruses, interceptions or
interference. If you are not the intended recipient of this communication,
you are hereby notified that reading, disseminating, distributing or
copying this message is strictly prohibited. In that case please return the
communication to the sender and delete and destroy all copies. In carrying
out its engagements, Axon Digital Design Group applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.
=====================================================================================================

[This message was sent through the lwip discussion list.]




reply via email to

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