Module Name: src
Committed By: rmind
Date: Sun Jul 20 00:48:51 UTC 2014
Modified Files:
src/usr.sbin/npf/npfctl: npf_show.c
Log Message:
formatting
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/npf/npfctl/npf_show.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_show.c
diff -u src/usr.sbin/npf/npfctl/npf_show.c:1.14 src/usr.sbin/npf/npfctl/npf_show.c:1.15
--- src/usr.sbin/npf/npfctl/npf_show.c:1.14 Sat May 31 22:41:37 2014
+++ src/usr.sbin/npf/npfctl/npf_show.c Sun Jul 20 00:48:51 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_show.c,v 1.14 2014/05/31 22:41:37 rmind Exp $ */
+/* $NetBSD: npf_show.c,v 1.15 2014/07/20 00:48:51 rmind Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npf_show.c,v 1.14 2014/05/31 22:41:37 rmind Exp $");
+__RCSID("$NetBSD: npf_show.c,v 1.15 2014/07/20 00:48:51 rmind Exp $");
#include <sys/socket.h>
#include <netinet/in.h>
@@ -452,7 +452,7 @@ npfctl_config_show(int fd)
if (ncf == NULL) {
return errno;
}
- fprintf(ctx->fp, "Filtering:\t%s\nConfiguration:\t%s\n",
+ fprintf(ctx->fp, "# filtering:\t%s\n# config:\t%s\n",
active ? "active" : "inactive",
loaded ? "loaded" : "empty");
print_linesep(ctx);