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