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

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

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

revision 1.28.2.2 by jani, Wed Oct 8 10:01:40 2003 UTC revision 1.28.2.3 by jani, Tue Nov 4 11:47:52 2003 UTC
# Line 97  netif_add(struct ip_addr *ipaddr, struct Line 97  netif_add(struct ip_addr *ipaddr, struct
97    /* add this netif to the list */    /* add this netif to the list */
98    netif->next = netif_list;    netif->next = netif_list;
99    netif_list = netif;    netif_list = netif;
 #if NETIF_DEBUG  
100    LWIP_DEBUGF(NETIF_DEBUG, ("netif: added interface %c%c IP addr ",    LWIP_DEBUGF(NETIF_DEBUG, ("netif: added interface %c%c IP addr ",
101      netif->name[0], netif->name[1]));      netif->name[0], netif->name[1]));
102    ip_addr_debug_print(NETIF_DEBUG, ipaddr);    ip_addr_debug_print(NETIF_DEBUG, ipaddr);
# Line 106  netif_add(struct ip_addr *ipaddr, struct Line 105  netif_add(struct ip_addr *ipaddr, struct
105    LWIP_DEBUGF(NETIF_DEBUG, (" gw "));    LWIP_DEBUGF(NETIF_DEBUG, (" gw "));
106    ip_addr_debug_print(NETIF_DEBUG, gw);    ip_addr_debug_print(NETIF_DEBUG, gw);
107    LWIP_DEBUGF(NETIF_DEBUG, ("\n"));    LWIP_DEBUGF(NETIF_DEBUG, ("\n"));
 #endif /* NETIF_DEBUG */  
108    return netif;    return netif;
109  }  }
110    

Legend:
Removed from v.1.28.2.2  
changed lines
  Added in v.1.28.2.3

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