netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel 'NebuchadnezzaR' Dehennin" <nebuchadnezzar@nerim.net>
To: netdev@oss.sgi.com
Subject: [PATCH] 2.4.x USAGI mipv6_ha_ipsec
Date: Fri, 01 Aug 2003 19:53:23 +0200	[thread overview]
Message-ID: <87n0etgt7w.fsf@zion.matrix> (raw)

Hello,

My 2.4.21 with USAGI 20030801 don't build
/net/ipv6/mobile_ip6/mipv6_ha_ipsec.c :
mipv6_ha_ipsec.c: In function `mipv6_change_sa_index':
mipv6_ha_ipsec.c:118: warning: implicit declaration of function `in6_ntop'
mipv6_ha_ipsec.c:118: warning: format argument is not a pointer (arg 4)
mipv6_ha_ipsec.c:119: warning: format argument is not a pointer (arg 4)
mipv6_ha_ipsec.c:126: warning: format argument is not a pointer (arg 4)
mipv6_ha_ipsec.c:127: warning: format argument is not a pointer (arg 4)
[...]

I search for the definition of in6_ntop, it in include/linux/inet.h
so I make that patch.

Thanks.

--- linux-2.4.21/net/ipv6/mobile_ip6/mipv6_ha_ipsec.c.orig	2003-08-01 19:37:22.000000000 +0200
+++ linux-2.4.21/net/ipv6/mobile_ip6/mipv6_ha_ipsec.c	2003-08-01 19:03:42.000000000 +0200
@@ -62,6 +62,7 @@
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/socket.h>
+#include <linux/inet.h>
 #include <linux/in6.h>
 #include <linux/pfkeyv2.h>
 #include <net/spd.h>


-- 
Daniel 'NebuchadnezzaR' Dehennin

             reply	other threads:[~2003-08-01 17:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 17:53 Daniel 'NebuchadnezzaR' Dehennin [this message]
2003-08-01 18:09 ` [PATCH 2] 2.4.x USAGI unused variables in mipv6_ha_ipsec.c Daniel 'NebuchadnezzaR' Dehennin
2003-08-02  2:59   ` [PATCH] 2.4.x USAGI mipv6_ha_ipsec Noriaki Takamiya

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=87n0etgt7w.fsf@zion.matrix \
    --to=nebuchadnezzar@nerim.net \
    --cc=netdev@oss.sgi.com \
    /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;
as well as URLs for NNTP newsgroup(s).