xref: /freebsd/sbin/ipf/libipf/printifname.c (revision 525fe93dc7487a1e63a90f6a2b956abc601963c1)
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