Re: [LARTC] Nano-Howto and IPSec

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This a change in the file freeswan-1.94/klips/net/ipsec/ipsec_tunnel.c

The difference is a 0 added like (plain diff):

1831c1831
<                                   physdev->iflink /* rgb: should this be 0? */))) {
---
>                                   physdev->iflink, 0 /* rgb: should this be 0? */))) {

Here's the diff -u

--- ipsec_tunnel.c.orig	Wed Dec  5 04:36:10 2001
+++ ipsec_tunnel.c	Wed Dec 19 21:11:55 2001
@@ -1828,7 +1828,7 @@
 				    skb->nh.iph->daddr,
 				    pass ? 0 : skb->nh.iph->saddr,
 				    RT_TOS(skb->nh.iph->tos),
-				    physdev->iflink /* rgb: should this be 0? */))) {
+				    physdev->iflink, 0 /* rgb: should this be 0? */))) {
 		stats->tx_errors++;
 		KLIPS_PRINT(debug_tunnel & DB_TN_XMIT,
 			    "klips_debug:ipsec_tunnel_start_xmit: "



On Thu, Dec 13, 2001 at 07:21:02PM +0200, Julian Anastasov wrote:
> 
> 	Hello,
> 
> On Thu, 13 Dec 2001, Jason A. Pattie wrote:
> 
> > I patched my kernel with the new routing code for 2.4.14 which already
> > had been patched with a FreeS/WAN snapshot.  However, the compilation
> > gave me an error stating that:
> >
> > ipsec_tunnel.c: In function `ipsec_tunnel_start_xmit':
> > ipsec_tunnel.c:1883: too few arguments to function `ip_route_output'
> > make[3]: *** [ipsec_tunnel.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> > make[1]: *** [_subdir_ipsec] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.14/net'
> > make: *** [_dir_net] Error 2
> >
> > Has anyone else run into this problem of mixing the new multipath
> > routing code with FreeS/WAN? or am I missing something?
> 
> 	Yes but I still didn't received patch for this. Just add
> one 0 as last argument to ip_route_output, make a diff -u and I'll
> upload it on the site. Of course, if everything else works.
> 
> Regards
> 
> --
> Julian Anastasov <ja@xxxxxx>

Whit



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux