[arptables_jf] fixes #663655 - arptables(8) man page correction
Jiri Skala
jskala at fedoraproject.org
Tue Mar 29 08:08:15 UTC 2011
commit 8b1d1dbab8f89c2301349f176aa57cd049cbbdf5
Author: Jiri Skala <jskala at skalniknb.(none)>
Date: Tue Mar 29 10:08:09 2011 +0200
fixes #663655 - arptables(8) man page correction
arptables_jf-0.0.8-man.patch | 66 ++++++++++++++++++++++++++++++++++++++---
arptables_jf.spec | 5 ++-
2 files changed, 65 insertions(+), 6 deletions(-)
---
diff --git a/arptables_jf-0.0.8-man.patch b/arptables_jf-0.0.8-man.patch
index eb6b656..cab5616 100644
--- a/arptables_jf-0.0.8-man.patch
+++ b/arptables_jf-0.0.8-man.patch
@@ -1,6 +1,7 @@
---- arptables_jf-0.0.8/arptables.8.man 2005-06-09 11:18:29.000000000 -0400
-+++ arptables_jf-0.0.8/arptables.8 2005-06-09 11:18:33.000000000 -0400
-@@ -97,9 +97,9 @@
+diff -up arptables_jf-0.0.8/arptables.8.man arptables_jf-0.0.8/arptables.8
+--- arptables_jf-0.0.8/arptables.8.man 2004-01-27 17:29:48.000000000 +0100
++++ arptables_jf-0.0.8/arptables.8 2011-03-29 10:05:30.010333105 +0200
+@@ -97,9 +97,9 @@ The tables are as follows:
.B "filter"
This is the default table (if no -t option is passed). It contains
the built-in chains
@@ -12,7 +13,16 @@
(for locally-generated ARP packets).
.TP
.SH OPTIONS
-@@ -255,7 +255,7 @@
+@@ -227,7 +227,7 @@ are aliases for this option.
+ .TP
+ .BR "-z, --source-hw " "[!] \fIhwaddr\fP[\fImask\fP]"
+ Specify the source hardware (MAC) address of the packet. hwaddr (and mask,
+-if specified) must consist of one or more 8-bit hexidecimal numbers, separated
++if specified) must consist of one or more 8-bit hexadecimal numbers, separated
+ by ':' characters. If the mask is not specified, it defaults to a number of
+ 0xff octets equal to the length of the hwaddr specified, then 0s.
+ The flags
+@@ -255,7 +255,7 @@ are all aliases for this option.
.BR "-i, --in-interface " "[!] \fIname\fP"
Name of an interface via which a packet is going to be received (only for
packets entering the
@@ -21,7 +31,7 @@
chain). When the "!" argument is used before the interface name, the
sense is inverted. If the interface name ends in a "+", then any
interface which begins with this name will match. If this option is
-@@ -264,7 +264,7 @@
+@@ -264,7 +264,7 @@ omitted, any interface name will match.
.BR "-o, --out-interface " "[!] \fIname\fP"
Name of an interface via which a packet is going to be sent (for packets
entering the
@@ -30,3 +40,49 @@
chain). When the "!" argument is used before the interface name, the
sense is inverted. If the interface name ends in a "+", then any
interface which begins with this name will match. If this option is
+@@ -272,28 +272,28 @@ omitted, any interface name will match.
+ .TP
+ .BR "-a, --arhln " "[!] \fIvalue\fP[\fImask\fP]"
+ Specify the hardware address length of the packet. Both the value and mask
+-must be 8-bit hexidecimal numbers. Note that packets
++must be 8-bit hexadecimal numbers. Note that packets
+ with an incorrect hardware address length field may be dropped by the
+ lower-level layers of the network stack, which may limit the usefulness
+ of this option.
+ .TP
+ .BR "-p, --arpop " "[!] \fIvalue\fP[\fImask\fP]"
+ Specify the arp operation field of the packet. The value may be either a
+-16-bit hexidecimal number or one of the names "Request", "Reply",
++16-bit hexadecimal number or one of the names "Request", "Reply",
+ "Request_Reverse",
+ "Reply_Reverse", "DRARP_Request", "DRARP_Reply", "DRARP_Error",
+ "InARP_Request", or "ARP_NAK". The mask (if specified) must be a 16-bit
+-hexidecicmal number.
++hexadecimal number.
+ .TP
+ .BR "-H, --arhrd " "[!] \fIvalue\fP[\fImask\fP]"
+ Specify the hardware type field of the packet. The value may be either a
+-16-bit hexidecimal number or the name "Ethernet". The mask (if specified)
+-must be a 16-bit hexidecimal number.
++16-bit hexadecimal number or the name "Ethernet". The mask (if specified)
++must be a 16-bit hexadecimal number.
+ .TP
+ .BR "-w, --arpro " "[!] \fIvalue\fP[\fIvalue\fP]"
+-Specify the protocol type field of the packet. The value may be eithe a
+-16-bit hexidecimal numebr or the name "IPV4". The mask (if specified) must
+-be a 16-bit hexidecimal number.
++Specify the protocol type field of the packet. The value may be either a
++16-bit hexadecimal number or the name "IPV4". The mask (if specified) must
++be a 16-bit hexadecimal number.
+ .TP
+ .BI "-j, --jump " "target"
+ This specifies the target of the rule; i.e., what to do if the packet
+@@ -360,7 +360,7 @@ Change the source IP address of the pack
+ Change the destination IP address of the packet to the specified value.
+ .TP
+ .B "--mangle-hw-s" "\fIhardware address\fP"
+-CHange the source hardware (MAC) address of the packet to the specified value.
++Change the source hardware (MAC) address of the packet to the specified value.
+ .TP
+ .B "--mangle-hw-d" "\fIhardware address\fP"
+ Change the destination hardware (MAC) address of the packet to the specified value.
diff --git a/arptables_jf.spec b/arptables_jf.spec
index 78b07a7..d7d37d7 100644
--- a/arptables_jf.spec
+++ b/arptables_jf.spec
@@ -3,7 +3,7 @@ Summary: Userspace control program for the arptables network filter
Name: arptables_jf
Version: 0.0.8
-Release: 21%{?dist}
+Release: 22%{?dist}
Source: %{name}-%{version}.tbz
#Source1: Makefile
#Source2: arptables.h
@@ -76,6 +76,9 @@ fi
%changelog
+* Tue Mar 29 2011 Jiri Skala <jskala at redhat.com> - 0:0.0.8-22
+- fixes #663655 - arptables(8) man page correction
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.8-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list