docs/165703: Typo in man-page of ng_patch(4)

Jacco van Buuren jaccovanbuuren at gmail.com
Mon Mar 5 06:30:13 UTC 2012


>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 at 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:



More information about the freebsd-doc mailing list