Module Name: src
Committed By: christos
Date: Mon Mar 11 00:39:33 UTC 2013
Modified Files:
src/usr.sbin/npf/npfctl: npfctl.c
Log Message:
separate sess commands.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/npf/npfctl/npfctl.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/npfctl.c
diff -u src/usr.sbin/npf/npfctl/npfctl.c:1.34 src/usr.sbin/npf/npfctl/npfctl.c:1.35
--- src/usr.sbin/npf/npfctl/npfctl.c:1.34 Sun Mar 10 20:34:43 2013
+++ src/usr.sbin/npf/npfctl/npfctl.c Sun Mar 10 20:39:32 2013
@@ -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 @@ usage(void)
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",