aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-08-15 19:21:15 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-08-15 19:21:15 +0000
commitb6620543755b922e4acf6ff5bb7697229ad7c6e2 (patch)
treea9634f2deade2dd59d2846ae038446e88dd153e4
parenta8445a5be5492a44430f9f294401a326a6026bf4 (diff)
Fix a bug in iproute2's ip route get command.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/iproute2.xml5
2 files changed, 10 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index bb1842158..d4d45d4c3 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -41,6 +41,11 @@
<para>2010-08-15</para>
<itemizedlist>
<listitem>
+ <para>[matthew] - Fix a bug in iproute2 that prevents
+ <command>ip route get</command> from producing any output. Thanks to
+ Thomas Trepl for the report, and to Andrew Benton for the fix.</para>
+ </listitem>
+ <listitem>
<para>[matthew] - Upgrade to Udev-161. Fixes
<ulink url="&lfs-ticket-root;2739">#2739</ulink>.</para>
</listitem>
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index 2647a6e1f..d9cec090c 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -51,6 +51,11 @@
<screen><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen>
+ <para>Fix a bug that causes the <command>ip route get</command> command to
+ not produce any output:</para>
+
+<screen><userinput remap="pre">sed -i 's/== !/\&amp;\&amp; !/' ip/iproute2.c</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make DESTDIR=</userinput></screen>