xref: /freebsd/sbin/ipf/libipf/printifname.c (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1 
2 /*
3  * Copyright (C) 2012 by Darren Reed.
4  *
5  * See the IPFILTER.LICENCE file for details on licencing.
6  *
7  * $Id$
8  */
9 
10 #include "ipf.h"
11 
12 
13 void
14 printifname(char *format, char *name, void *ifp)
15 {
16 	PRINTF("%s%s", format, name);
17 	if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*"))
18 		PRINTF("(!)");
19 }
20