2 * Copyright (C) 2012 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * Added redirect stuff and a variety of bug fixes. (mcn@EnGarde.com)
13 static const char rcsid[] = "@(#)$Id: printactiveaddr.c,v 1.3.2.2 2012/07/22 08:04:24 darren_r Exp $";
18 printactiveaddress(v, fmt, addr, ifname)
26 PRINTF(fmt, inet_ntoa(addr->in4));
30 printaddr(AF_INET6, FRI_NORMAL, ifname, 0,
31 (u_32_t *)&addr->in6, NULL);