aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/net-tools.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/net-tools.xml')
-rw-r--r--chapter06/net-tools.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/net-tools.xml b/chapter06/net-tools.xml
index de02cbc44..1b910acf5 100644
--- a/chapter06/net-tools.xml
+++ b/chapter06/net-tools.xml
@@ -43,10 +43,9 @@ fix by applying the following patch:</para>
<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch</userinput></screen>
-<para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
-by applying the following patch:</para>
+<para>Fix an issue that arises when building against Linux 2.6:</para>
-<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel_headers-1.patch</userinput></screen>
+<screen><userinput>sed -i 's@x25_address@struct &amp;@' lib/x25_sr.c</userinput></screen>
<para>Now prepare Net-tools for compilation (if you intend to accept the
defaults, you can skip all the questions by running <userinput>yes "" |