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