/[lwip]/lwip/src/core/dhcp.c
ViewVC logotype

Diff of /lwip/src/core/dhcp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by likewise, Mon Apr 14 11:36:17 2003 UTC revision 1.26 by likewise, Tue Apr 15 11:27:52 2003 UTC
# Line 1099  static void dhcp_recv(void *arg, struct Line 1099  static void dhcp_recv(void *arg, struct
1099    u8_t *options_ptr;    u8_t *options_ptr;
1100    u8_t msg_type;    u8_t msg_type;
1101    u8_t i;    u8_t i;
1102    DEBUGF(DHCP_DEBUG | DBG_TRACE, ("dhcp_recv()\n"));    DEBUGF(DHCP_DEBUG | DBG_TRACE | 3, ("dhcp_recv(pbuf = %p) from DHCP server %u.%u.%u.%u port %u\n", p,
1103        (u8_t)(ntohl(addr->addr) >> 24 & 0xff),
1104        (u8_t)(ntohl(addr->addr) >> 16 & 0xff),
1105        (u8_t)(ntohl(addr->addr) >>  8 & 0xff),
1106        (u8_t)(ntohl(addr->addr) & 0xff), port));
1107    DEBUGF(DHCP_DEBUG | DBG_TRACE, ("pbuf->len = %u\n", p->len));    DEBUGF(DHCP_DEBUG | DBG_TRACE, ("pbuf->len = %u\n", p->len));
1108    DEBUGF(DHCP_DEBUG | DBG_TRACE, ("pbuf->tot_len = %u\n", p->tot_len));    DEBUGF(DHCP_DEBUG | DBG_TRACE, ("pbuf->tot_len = %u\n", p->tot_len));
1109      /* prevent warning */
1110      if (pcb || addr || port);
1111    dhcp->p = p;    dhcp->p = p;
1112    if (reply_msg->op != DHCP_BOOTREPLY) {    if (reply_msg->op != DHCP_BOOTREPLY) {
1113      DEBUGF(DHCP_DEBUG | DBG_TRACE | 1, ("not a DHCP reply message, but type %u\n", reply_msg->op));      DEBUGF(DHCP_DEBUG | DBG_TRACE | 1, ("not a DHCP reply message, but type %u\n", reply_msg->op));

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26