mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-09 13:42:56 +00:00
2a63c3be15
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
39 lines
495 B
C
39 lines
495 B
C
|
|
/*
|
|
* Copyright (C) 2012 by Darren Reed.
|
|
*
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
# include <stdarg.h>
|
|
#include <stdio.h>
|
|
|
|
#include "ipf.h"
|
|
#include "opts.h"
|
|
|
|
|
|
void verbose(int level, char *fmt, ...)
|
|
{
|
|
va_list pvar;
|
|
|
|
va_start(pvar, fmt);
|
|
|
|
if (opts & OPT_VERBOSE)
|
|
vprintf(fmt, pvar);
|
|
va_end(pvar);
|
|
}
|
|
|
|
|
|
void ipfkverbose(char *fmt, ...)
|
|
{
|
|
va_list pvar;
|
|
|
|
va_start(pvar, fmt);
|
|
|
|
if (opts & OPT_VERBOSE)
|
|
verbose(0x1fffffff, fmt, pvar);
|
|
va_end(pvar);
|
|
}
|