mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
31 lines
494 B
C
31 lines
494 B
C
/*
|
|
* Copyright (C) 2012 by Darren Reed.
|
|
*
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
*
|
|
* Added redirect stuff and a variety of bug fixes. (mcn@EnGarde.com)
|
|
*/
|
|
|
|
#include "ipf.h"
|
|
|
|
|
|
|
|
|
|
void
|
|
printactiveaddress(int v, char *fmt, i6addr_t *addr, char *ifname)
|
|
{
|
|
switch (v)
|
|
{
|
|
case 4 :
|
|
PRINTF(fmt, inet_ntoa(addr->in4));
|
|
break;
|
|
#ifdef USE_INET6
|
|
case 6 :
|
|
printaddr(AF_INET6, FRI_NORMAL, ifname, 0,
|
|
(u_32_t *)&addr->in6, NULL);
|
|
break;
|
|
#endif
|
|
default :
|
|
break;
|
|
}
|
|
}
|