Browse Source

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
Matthew Burgess 15 năm trước cách đây
mục cha
commit
b662054375
2 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 5 0
      chapter01/changelog.xml
  2. 5 0
      chapter06/iproute2.xml

+ 5 - 0
chapter01/changelog.xml

@@ -40,6 +40,11 @@
     <listitem>
       <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>

+ 5 - 0
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>