Fix spelling mistakes
PATCH 1/1 Fix spelling mistakes
Corrections for several spelling mistakes, typo's and non-native usages in man-pages and error-messages.
Signed-off-by Jeremy Sowden <[email protected]>
--- extensions/libxt_DNAT.man | 2 +- extensions/libxt_TOS.man | 2 +- extensions/libxt_multiport.c | 2 +- extensions/libxt_set.h | 4 ++-- iptables/arptables-nft.8 | 2 +- iptables/ebtables-nft.8 | 4 ++-- iptables/nft-arp.c | 2 +- iptables/xtables-monitor.8.in | 2 +- utils/nfnl_osf.8.in | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-)
extensions/libxt_DNAT.man +1 -1
@@ -19,7 +19,7 @@ If no port range is specified, then the destination port will never be modified. If no IP address is specified then only the destination port will be modified. If \fBbaseport\fP is given, the difference of the original destination port and -its value is used as offset into the mapping port range. This allows to create +its value is used as offset into the mapping port range. This allows one to create shifted portmap ranges and is available since kernel version 4.18. For a single port or \fIbaseport\fP, a service name as listed in \fB/etc/services\fP may be used.
extensions/libxt_TOS.man +1 -1
@@ -32,5 +32,5 @@ longterm releases 2.6.32 (>=.42), 2.6.33 (>=.15), and 2.6.35 (>=.14), there is a bug whereby IPv6 TOS mangling does not behave as documented and differs from the IPv4 version. The TOS mask indicates the bits one wants to zero out, so it needs to be inverted before applying it to the original TOS field. However, the -aformentioned kernels forgo the inversion which breaks \-\-set\-tos and its +aforementioned kernels forgo the inversion which breaks \-\-set\-tos and its mnemonics.
extensions/libxt_multiport.c +1 -1
@@ -248,7 +248,7 @@ static void multiport_parse6_v1(struct xt_option_call *cb)static void multiport_check (struct xt_fcheck_call *cb) {if (cb->xflags ==0 ) -xtables_error (PARAMETER_PROBLEM ,"multiport expection an option" ); +xtables_error (PARAMETER_PROBLEM ,"no ports specified" ); } static const char *
extensions/libxt_set.h +2 -2
@@ -146,7 +146,7 @@ parse_dirs_v0(const char *opt_arg, struct xt_set_info_v0 *info) info->u.flags[i++] |=IPSET_DST ; else xtables_error(PARAMETER_PROBLEM, - "You must spefify (the comma separated list of) 'src' or 'dst'."); + "You must specify (the comma separated list of) 'src' or 'dst'."); }if (tmp)
@@ -170,7 +170,7 @@ parse_dirs(const char *opt_arg, struct xt_set_info *info) info->flags |= (1 << info->dim); else if (strncmp(ptr, "dst", 3) != 0) xtables_error(PARAMETER_PROBLEM, - "You must spefify (the comma separated list of) 'src' or 'dst'."); + "You must specify (the comma separated list of) 'src' or 'dst'."); }if (tmp)
iptables/arptables-nft.8 +1 -1
@@ -209,7 +209,7 @@ of the .B arptables kernel table. -.SS MISCELLANOUS COMMANDS +.SS MISCELLANEOUS COMMANDS .TP .B "\-V, \-\-version" Show the version of the arptables userspace program.
iptables/ebtables-nft.8 +2 -2
@@ -321,7 +321,7 @@ of the ebtables kernel table. .TP .B "--init-table" Replace the current table data by the initial table data. -.SS MISCELLANOUS COMMANDS +.SS MISCELLANEOUS COMMANDS .TP .B "-v, --verbose" Verbose mode.
@@ -812,7 +812,7 @@ The log watcher writes descriptive data about a frame to the syslog. .TP .B "--log" .br -Log with the default loggin options: log-level= +Log with the default logging options: log-level= .IR info , log-prefix="", no ip logging, no arp logging. .TP
iptables/nft-arp.c +1 -1
@@ -529,7 +529,7 @@ static void nft_arp_post_parse(int command,if (cs->arp.arp.arhln !=6 )xtables_error (PARAMETER_PROBLEM , -"Only harware address length of 6 is supported currently." ); +"Only hardware address length of 6 is supported currently." ); }if (args->arp_opcode) { if (get16_and_mask(args->arp_opcode, &cs->arp.arp.arpop,
iptables/xtables-monitor.8.in +1 -1
@@ -43,7 +43,7 @@ Restrict output to IPv6. .PP The first line shows a packet entering rule set evaluation. The protocol number is shown (AF_INET in this case), then a packet -identifier number that allows to correlate messages coming from rule set evaluation of +identifier number that allows one to correlate messages coming from rule set evaluation of this packet. After this, the rule that was matched by the packet is shown. This is the TRACE rule that turns on tracing events for this packet.
utils/nfnl_osf.8.in +1 -1
@@ -16,7 +16,7 @@ nfnl_osf \(em OS fingerprint loader utility .SH DESCRIPTION The .B nfnl_osf -utility allows to load a set of operating system signatures into the kernel for +utility allows one to load a set of operating system signatures into the kernel for later matching against using iptables' .B osf match.
Signature · 1 line
2.42.0
Phil Sutter
reviewerQuoted 4 lines · Jeremy Sowden
Corrections for several spelling mistakes, typo's and non-native usages in man-pages and error-messages.
Signed-off-by Jeremy Sowden <[email protected]>
Patch applied, thanks!