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