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