1/* $NetBSD: printifname.c,v 1.2 2012/02/15 17:55:07 riz Exp $ */ 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 13void printifname(format, name, ifp) 14char *format, *name; 15void *ifp; 16{ 17 printf("%s%s", format, name); 18 if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*")) 19 printf("(!)"); 20} 21