From owner-freebsd-doc@FreeBSD.ORG Mon Mar 5 06:30:13 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9AB01065670 for ; Mon, 5 Mar 2012 06:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C78B8FC20 for ; Mon, 5 Mar 2012 06:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q256UDeD042435 for ; Mon, 5 Mar 2012 06:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q256UD1Q042432; Mon, 5 Mar 2012 06:30:13 GMT (envelope-from gnats) Resent-Date: Mon, 5 Mar 2012 06:30:13 GMT Resent-Message-Id: <201203050630.q256UD1Q042432@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacco van Buuren Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4644106564A for ; Mon, 5 Mar 2012 06:25:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 889958FC08 for ; Mon, 5 Mar 2012 06:25:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q256P2oh032307 for ; Mon, 5 Mar 2012 06:25:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q256P2hZ032306; Mon, 5 Mar 2012 06:25:02 GMT (envelope-from nobody) Message-Id: <201203050625.q256P2hZ032306@red.freebsd.org> Date: Mon, 5 Mar 2012 06:25:02 GMT From: Jacco van Buuren To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/165703: Typo in man-page of ng_patch(4) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 06:30:13 -0000 >Number: 165703 >Category: docs >Synopsis: Typo in man-page of ng_patch(4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 05 06:30:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jacco van Buuren >Release: 9.0-RELEASE >Organization: - >Environment: FreeBSD gamma01.andromeda.nebula 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: 23.02.12 в 19:18 Jacco van Buuren в своём письме писал(а): In the man-page of ng_patch(4), I read the following example: /usr/sbin/ngctl -f- <<-SEQ mkpeer ipfw: patch 300 in name ipfw:300 tos_chg msg tos_chg: setconfig { count=2 csum_flags=1 ops=[ \ { mode=7 value=0xf7 length=1 offset=1 } \ { mode=8 value=0x02 length=1 offset=1 } ] } SEQ /sbin/ipfw add 160 netgraph *600 *ip from any to any not dst-port 80 ...shouldn't this last line read: /sbin/ipfw add 160 netgraph *300 *ip from any to any not dst-port 80 Yes, that's a mistake in man page. Please report as a send-pr or to someone having a commit bit :) >How-To-Repeat: man 4 ng_patch >Fix: Line 124 should read: /sbin/ipfw add 160 netgraph *300 *ip from any to any not dst-port 80 >Release-Note: >Audit-Trail: >Unformatted: