[PATCH] 2.4.x USAGI mipv6_ha_ipsec

STALE8444d

2 messages, 2 authors, 2003-08-02 · open the first message on its own page

[PATCH] 2.4.x USAGI mipv6_ha_ipsec

From: Daniel 'NebuchadnezzaR' Dehennin <hidden>
Date: 2003-08-01 17:53:23

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

Re: [PATCH] 2.4.x USAGI mipv6_ha_ipsec

From: Noriaki Takamiya <hidden>
Date: 2003-08-02 02:59:09

Hi,
quoted
Fri, 01 Aug 2003 19:53:23 +0200
[Subject: [PATCH] 2.4.x USAGI mipv6_ha_ipsec]
"Daniel 'NebuchadnezzaR' Dehennin" [off-list ref] wrote...
nebuchadnezzar> I search for the definition of in6_ntop, it in include/linux/inet.h
nebuchadnezzar> so I make that patch.
quoted
Fri, 01 Aug 2003 20:09:25 +0200
[Subject: [PATCH 2] 2.4.x USAGI unused variables in mipv6_ha_ipsec.c]
"Daniel 'NebuchadnezzaR' Dehennin" [off-list ref] wrote...
nebuchadnezzar> Hello again ;-),
nebuchadnezzar> 
nebuchadnezzar> A patch to remove unused variables :

  Applied both fixes. Thakns.

--
Noriaki Takamiya
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help