43988e3f50
and guaranteed to build everywhere in ipfilter. Not all of this commit can be MFCed. Some is original code while others are not.
13 lines
184 B
C
13 lines
184 B
C
#include "ipf.h"
|
|
|
|
const char *familyname(int family)
|
|
{
|
|
if (family == AF_INET)
|
|
return "inet";
|
|
#ifdef USE_INET6
|
|
if (family == AF_INET6)
|
|
return "inet6";
|
|
#endif
|
|
return "unknown";
|
|
}
|