Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 09:54:54 +0000 (UTC)
From:      Paolo Pisati <piso@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r190589 - user/piso/sbin/ipfw
Message-ID:  <200903310954.n2V9ssOq093734@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: piso
Date: Tue Mar 31 09:54:54 2009
New Revision: 190589
URL: http://svn.freebsd.org/changeset/base/190589

Log:
  -document 'reass' action in the help message
  -make ipfw recognize the "reass" token

Modified:
  user/piso/sbin/ipfw/ipfw2.c
  user/piso/sbin/ipfw/main.c

Modified: user/piso/sbin/ipfw/ipfw2.c
==============================================================================
--- user/piso/sbin/ipfw/ipfw2.c	Tue Mar 31 07:40:36 2009	(r190588)
+++ user/piso/sbin/ipfw/ipfw2.c	Tue Mar 31 09:54:54 2009	(r190589)
@@ -211,6 +211,7 @@ static struct _s_x rule_actions[] = {
 	{ "check-state",	TOK_CHECKSTATE },
 	{ "//",			TOK_COMMENT },
 	{ "nat",                TOK_NAT },
+	{ "reass",		TOK_REASS },
 	{ "setfib",		TOK_SETFIB },
 	{ NULL, 0 }	/* terminator */
 };

Modified: user/piso/sbin/ipfw/main.c
==============================================================================
--- user/piso/sbin/ipfw/main.c	Tue Mar 31 07:40:36 2009	(r190588)
+++ user/piso/sbin/ipfw/main.c	Tue Mar 31 09:54:54 2009	(r190589)
@@ -54,7 +54,7 @@ help(void)
 "RULE-BODY:	check-state [PARAMS] | ACTION [PARAMS] ADDR [OPTION_LIST]\n"
 "ACTION:	check-state | allow | count | deny | unreach{,6} CODE |\n"
 "               skipto N | {divert|tee} PORT | forward ADDR |\n"
-"               pipe N | queue N | nat N | setfib FIB\n"
+"               pipe N | queue N | nat N | setfib FIB | reass\n"
 "PARAMS: 	[log [logamount LOGLIMIT]] [altq QUEUE_NAME]\n"
 "ADDR:		[ MAC dst src ether_type ] \n"
 "		[ ip from IPADDR [ PORT ] to IPADDR [ PORTLIST ] ]\n"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903310954.n2V9ssOq093734>