[Openswan Users] Openswan-2.3.1, kernel 2.4.24, NAT-T patch errors

Andrej Trobentar andrej.trobentar at rikom.si
Thu Jun 23 11:05:26 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sandor Geller wrote:
> 2005-06-23, cs keltezéssel 09.44-kor Andrej Trobentar ezt írta:
> 
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hello all,
>>
>>When I try to patch my kernel with the NAT-T patch I get following errors :
>>
>>[root at ns openswan-2.3.1]# make nattpatch | (cd /usr/src/linux-2.4 &&
>>patch -p1)
>>patching file include/net/sock.h
>>Hunk #1 succeeded at 434 with fuzz 1 (offset -54 lines).
>>patching file net/Config.in
>>Hunk #1 succeeded at 103 (offset 15 lines).
>>patching file net/ipv4/udp.c
>>Hunk #1 succeeded at 804 (offset 17 lines).
>>Hunk #3 succeeded at 1081 (offset 17 lines).
>>[root at ns openswan-2.3.1]#
>>
>>I have downloaded the kernel from kernel.org and recompiled it for my
>>machine - so this means I have a working kernel. But, then when I wan't
>>to patch it with the above mentioned patch I get the errors above.
> 
> 
> These are just warnings, not errors, simply ignore them. patch
> successfully replaced the original code with the code in the hunk, but
> the starting line number of the replaced code differs by #offset from
> the line number which is stored in the patch. Sometimes this could be a
> real problem, when there are several instances of the same code in a
> file, and patch selects a wrong one to replace.

Hello Sandor,

Thanks for your fast answer. I posted this message because I'm having
connection problems with Win XP roadwarior behind NAT and I was
wondering that maybe the patch wasn't working because of this warning.

I will open a new thread to describe my connection problems.

- --
Greetings from Slovenija,

	Andrej.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCum1FVd/NU2yFfAoRAogIAJ0c5V0s91ZEy7qIqYg7VoxFM+cLcgCfSzPf
G9cpHaB+rWJzjdSPtZ6tPF8=
=cpTY
-----END PGP SIGNATURE-----


More information about the Users mailing list