summaryrefslogtreecommitdiff
path: root/ifdata.docbook
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-02-09 15:35:10 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-02-09 15:38:39 -0500
commitff93b6b5da3e3d404a659973fe898b9cfd3a8092 (patch)
tree67b816f915ab65baef8e6c745668f22fbb921c95 /ifdata.docbook
parentad61b8762ecb666d386160df83031d34071e1031 (diff)
downloadmoreutils-ff93b6b5da3e3d404a659973fe898b9cfd3a8092.tar.gz
freebsd patch from Enrico Tassi
* ifdata: - Use unsigned long for ioctl command. On both Linux and FreeBSD ioctl expects an unsigned long command. FreeBSD kernel was complaining about the (by chance) signedness of the ioctl command (then probably ignored, since it worked both on Linux and FreeBSD). WARNING pid 799 (ifdata): ioctl sign-extension ioctl ffffffffc0206933 - put #if defined(__linux__) around ioctls that are not supported by FreeBSD - Mention in the manpage that some options are Linux specific.
Diffstat (limited to 'ifdata.docbook')
-rw-r--r--ifdata.docbook22
1 files changed, 14 insertions, 8 deletions
diff --git a/ifdata.docbook b/ifdata.docbook
index 5f2837f..86e90a8 100644
--- a/ifdata.docbook
+++ b/ifdata.docbook
@@ -105,14 +105,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</varlistentry>
<varlistentry>
- <term><option>-ph</option></term>
- <listitem>
- <para>Prints the hardware address of the
- interface.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>-pa</option></term>
<listitem>
<para>Prints the IPv4 address of the
@@ -151,6 +143,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</listitem>
</varlistentry>
+ </variablelist>
+
+ <para>Following options are Linux only.</para>
+
+ <variablelist>
+
+ <varlistentry>
+ <term><option>-ph</option></term>
+ <listitem>
+ <para>Prints the hardware address of the
+ interface.</para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>-pf</option></term>
<listitem>