Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/npf/npfctl separate sess commands.
details: https://anonhg.NetBSD.org/src/rev/5c25a5dc16fc
branches: trunk
changeset: 785379:5c25a5dc16fc
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 11 00:39:32 2013 +0000
description:
separate sess commands.
diffstat:
usr.sbin/npf/npfctl/npfctl.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 15f44d4b2197 -r 5c25a5dc16fc usr.sbin/npf/npfctl/npfctl.c
--- a/usr.sbin/npf/npfctl/npfctl.c Mon Mar 11 00:34:43 2013 +0000
+++ b/usr.sbin/npf/npfctl/npfctl.c Mon Mar 11 00:39:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npfctl.c,v 1.34 2013/03/11 00:34:43 christos Exp $ */
+/* $NetBSD: npfctl.c,v 1.35 2013/03/11 00:39:32 christos Exp $ */
/*-
* Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npfctl.c,v 1.34 2013/03/11 00:34:43 christos Exp $");
+__RCSID("$NetBSD: npfctl.c,v 1.35 2013/03/11 00:39:32 christos Exp $");
#include <sys/ioctl.h>
#include <sys/stat.h>
@@ -115,8 +115,10 @@
const char *progname = getprogname();
fprintf(stderr,
- "Usage:\t%s start | stop | flush | show | stats | sess-load | "
- "sess-save\n",
+ "Usage:\t%s start | stop | flush | show | stats\n",
+ progname);
+ fprintf(stderr,
+ "\t%s sess-load | sess-save\n",
progname);
fprintf(stderr,
"\t%s validate | reload [<rule-file>]\n",
Home |
Main Index |
Thread Index |
Old Index