]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ipfilter/lib/printifname.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ipfilter / lib / printifname.c
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(format, name, ifp)
16         char *format, *name;
17         void *ifp;
18 {
19         PRINTF("%s%s", format, name);
20         if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*"))
21                 PRINTF("(!)");
22 }