Skip to contentSkip to conversation

2.4.x USAGI mipv6_ha_ipsec

PATCH In review Daniel 'NebuchadnezzaR' Dehennin 2 participants 2 messages Aug 1, 2003 – Aug 2, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.x USAGI mipv6_ha_ipsec

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.

net/ipv6/mobile_ip6/mipv6_ha_ipsec.c renamed from net/ipv6/mobile_ip6/mipv6_ha_ipsec.c.orig +1 -0
@@ -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>
Signature · 1 line
Daniel 'NebuchadnezzaR' Dehennin
#1 lore raw

Hi,

Quoted 3 lines
Quoted 3 lines

Fri, 01 Aug 2003 19:53:23 +0200
[Subject: [PATCH] 2.4.x USAGI mipv6_ha_ipsec]
"Daniel 'NebuchadnezzaR' Dehennin" <[email protected]> wrote...

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

Quoted 3 lines
Quoted 3 lines

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" <[email protected]> wrote...

nebuchadnezzar> Hello again ;-), nebuchadnezzar>
nebuchadnezzar> A patch to remove unused variables :

Applied both fixes. Thakns.

--
Noriaki Takamiya