/[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.11 by likewise, Mon Mar 24 14:30:18 2003 UTC revision 1.12 by likewise, Tue Mar 25 12:59:42 2003 UTC
# Line 1  Line 1 
1    /**
2     * @file
3     *
4     * lwIP network interface abstraction
5     */
6    
7  /*  /*
8   * Copyright (c) 2001-2003 Swedish Institute of Computer Science.   * Copyright (c) 2001-2003 Swedish Institute of Computer Science.
9   * All rights reserved.   * All rights reserved.
# Line 132  void netif_remove(struct netif * netif) Line 138  void netif_remove(struct netif * netif)
138                  if(tmpNetif == NULL)                  if(tmpNetif == NULL)
139                          return; /*  we didn't find any netif today */                          return; /*  we didn't find any netif today */
140          }          }
141      /* this netif is default? */
142          if(netif_default == netif)          if (netif_default == netif)
143        /* reset default netif */
144                  netif_default = NULL;                  netif_default = NULL;
145    
146          DEBUGF(NETIF_DEBUG, ("netif_remove: removed netif"));          DEBUGF(NETIF_DEBUG, ("netif_remove: removed netif"));

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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