From owner-cvs-src-old@FreeBSD.ORG Fri Jun 17 12:13:09 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3A561065781 for ; Fri, 17 Jun 2011 12:13:09 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A31AE8FC15 for ; Fri, 17 Jun 2011 12:13:09 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5HCD9Lp012808 for ; Fri, 17 Jun 2011 12:13:09 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5HCD9Fa012807 for cvs-src-old@freebsd.org; Fri, 17 Jun 2011 12:13:09 GMT (envelope-from glebius@repoman.freebsd.org) Message-Id: <201106171213.p5HCD9Fa012807@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to glebius@repoman.freebsd.org using -f From: Gleb Smirnoff Date: Fri, 17 Jun 2011 12:12:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ipfw nat.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 12:13:09 -0000 glebius 2011-06-17 12:12:52 UTC FreeBSD src repository Modified files: sbin/ipfw nat.c Log: SVN rev 223185 on 2011-06-17 12:12:52Z by glebius - Fix my braino in the 220835, when I used strtok(). It isn't applicable here, since modifies the string. Switch to strchr(). - Restore support for undocumented optional parameters of redir_port and redir_proto, that were disabled in 220835. - While here, change !isalpha() checks on optinal parameters for isdigit(). Submitted by: Alexander V. Chernikov PR: kern/143653 Revision Changes Path 1.10 +32 -14 src/sbin/ipfw/nat.c