]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ipfilter/lib/printifname.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ipfilter / lib / printifname.c
1 /*      $FreeBSD$       */
2
3 /*
4  * Copyright (C) 2002 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id: printifname.c,v 1.2.4.1 2006/06/16 17:21:12 darrenr Exp $
9  */
10
11 #include "ipf.h"
12
13 void printifname(format, name, ifp)
14 char *format, *name;
15 void *ifp;
16 {
17         printf("%s%s", format, name);
18         if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*"))
19                 printf("(!)");
20 }