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