home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <string.h>
- #include "global.h"
- #include "iface.h"
- #include "misc.h"
-
- struct interface *if_lookup(char *name)
- {
- register struct interface *iface;
-
- for(iface = ifaces; iface != NULLIF; iface = iface->next)
- if(strcmp(iface->name,name) == 0)
- break;
- return iface;
- }
-