/* Miscellaneous Functions Find WAN device by name. Return pointer to the WAN device data space or NULL if device not found.  */
static struct wan_device * wanrouter_find_device(char *name)
/* Miscellaneous Functions Find WAN device by name. Return pointer to the WAN device data space or NULL if device not found.  */
static struct wan_device * wanrouter_find_device(char *name)
{
	struct wan_device *wandev;
	for (wandev = wanrouter_router_devlist;
	     wandev && strcmp(wandev->name, name);
		wandev = wandev->next);
	return wandev;
}