From b6620543755b922e4acf6ff5bb7697229ad7c6e2 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sun, 15 Aug 2010 19:21:15 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 5 +++++ chapter06/iproute2.xml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index bb1842158..d4d45d4c3 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,11 @@ 2010-08-15 + + [matthew] - Fix a bug in iproute2 that prevents + ip route get from producing any output. Thanks to + Thomas Trepl for the report, and to Andrew Benton for the fix. + [matthew] - Upgrade to Udev-161. Fixes #2739. 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 @@ sed -i '/^TARGETS/s@arpd@@g' misc/Makefile + Fix a bug that causes the ip route get command to + not produce any output: + +sed -i 's/== !/\&\& !/' ip/iproute2.c + Compile the package: make DESTDIR=