4 * Copyright (C) 1993-2001 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * $Id: to_interface.c,v 1.8 2002/01/28 06:50:48 darrenr Exp $
14 int to_interface(fdp, to, linenum)
25 if (hostnum((u_32_t *)&fdp->fd_ip, s, linenum, NULL) == -1)
28 (void) strncpy(fdp->fd_ifname, to, sizeof(fdp->fd_ifname) - 1);
29 fdp->fd_ifname[sizeof(fdp->fd_ifname) - 1] = '\0';