| Summary: | Typo in man-page of ng_patch(4) | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Jacco van Buuren <jaccovanbuuren> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Fixed in head as SVN r232538 and merged to stable/9 and stable/8. Thanks for your report! |
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 :) Fix: Line 124 should read: /sbin/ipfw add 160 netgraph *300 *ip from any to any not dst-port 80 How-To-Repeat: man 4 ng_patch