1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

update openswan to latest upstream version and add fixes for 2.6.21 api changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7379 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-05-28 20:43:18 +00:00
parent 6e1353be00
commit 332cd7e0fb
5 changed files with 19 additions and 59 deletions

View File

@@ -227,15 +227,4 @@ diff -ruN openswan-2.4.7-old/programs/_startklips/_startklips.in openswan-2.4.7-
if test ! -f $ipsecversion
then
echo "kernel appears to lack IPsec support (neither CONFIG_KLIPS or CONFIG_NET_KEY are set)"
diff -urN openswan-2.4.7/programs/_startklips/_startklips.in openswan-2.4.7.new/programs/_startklips/_startklips.in
--- openswan-2.4.7/programs/_startklips/_startklips.in 2006-11-13 21:27:18.000000000 +0100
+++ openswan-2.4.7.new/programs/_startklips/_startklips.in 2007-04-16 11:57:45.000000000 +0200
@@ -147,7 +147,7 @@
then
# attach the interface and bring it up
ipsec tncfg --attach --virtual $virt --physical $phys
- ifconfig $virt inet $addr $type $otheraddr netmask $mask $mtu
+ ifconfig $virt $addr $type $otheraddr netmask $mask $mtu
fi
# if %defaultroute, note the facts