public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Derek Atkins <derek@ihtfp.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Kostadin Karaivanov <larry@minfin.bg>, linux-kernel@vger.kernel.org
Subject: Re: ipsec-tools 0.1 + kernel 2.5.64
Date: 05 Mar 2003 14:55:03 -0500	[thread overview]
Message-ID: <sjm3cm1twq0.fsf@kikki.mit.edu> (raw)
In-Reply-To: <20030305185149.A28243@infradead.org>

Sorry, that was the wrong patch.

Try this one.

-derek

diff -u -r1.4 grabmyaddr.c
--- src/racoon/grabmyaddr.c	5 Mar 2003 18:54:08 -0000	1.4
+++ src/racoon/grabmyaddr.c	5 Mar 2003 19:54:17 -0000
@@ -65,10 +65,13 @@
 #include "isakmp_var.h"
 #include "gcmalloc.h"
 
-#if defined(__linux__) && !defined(HAVE_GETIFADDRS)
+#ifdef __linux__
+#include <linux/rtnetlink.h>
+ifndef HAVE_GETIFADDRS
 #define HAVE_GETIFADDRS
 #define NEED_LINUX_GETIFADDRS
 #endif
+#endif
 
 #ifndef HAVE_GETIFADDRS
 static unsigned int if_maxindex __P((void));
@@ -93,8 +96,6 @@
 	struct sockaddr *ifa_addr;
 	struct sockaddr_storage ifa_addrbuf;
 };
-
-#include <linux/rtnetlink.h>
 
 __u32 nl_pid;
 int nl_rescan;


-- 
       Derek Atkins
       Computer and Internet Security Consultant
       derek@ihtfp.com             www.ihtfp.com

  parent reply	other threads:[~2003-03-05 19:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 18:15 ipsec-tools 0.1 + kernel 2.5.64 Derek Atkins
2003-03-05 18:27 ` Christoph Hellwig
2003-03-05 18:43   ` Derek Atkins
2003-03-05 18:51     ` Christoph Hellwig
2003-03-05 19:00       ` Derek Atkins
2003-03-05 19:55       ` Derek Atkins [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-05 11:49 Kostadin Karaivanov
2003-03-05 16:05 ` Kostadin Karaivanov
2003-03-05 11:29 Andreas Jellinghaus
2003-03-05 11:28 ` bert hubert
2003-03-05 14:52   ` Derek Atkins
2003-03-05 12:47 ` James Morris
2003-03-05 19:33   ` Andreas Jellinghaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sjm3cm1twq0.fsf@kikki.mit.edu \
    --to=derek@ihtfp.com \
    --cc=hch@infradead.org \
    --cc=larry@minfin.bg \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox