-/* $OpenBSD: parse.y,v 1.654 2016/07/18 15:21:33 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.655 2016/08/26 06:06:58 guenther Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
}
| SET DEBUG DEBUG {
if (pfctl_set_debug(pf, "debug") != 0) {
- yyerror("error setting debuglevel debug");
+ yyerror("error setting debuglevel %s", "debug");
YYERROR;
}
}
-/* $OpenBSD: pfctl_parser.c,v 1.306 2015/09/03 12:46:47 mikeb Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.307 2016/08/26 06:06:58 guenther Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
#include <net/hfsc.h>
#include <arpa/inet.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <ctype.h>
-#include <netdb.h>
-#include <stdarg.h>
-#include <errno.h>
#include <err.h>
+#include <errno.h>
#include <ifaddrs.h>
-#include <unistd.h>
#include <limits.h>
+#include <netdb.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
#define SYSLOG_NAMES
#include <syslog.h>