From 2dd53003865adb67ba830f03a5cd108447c69610 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 16 Apr 2007 10:06:46 +0000 Subject: [PATCH] Fix startklips with bb's ifconfig (#1556) SVN-Revision: 6965 --- package/openswan/patches/110-scripts.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/openswan/patches/110-scripts.patch b/package/openswan/patches/110-scripts.patch index 44381241a55b..ed37920a395a 100644 --- a/package/openswan/patches/110-scripts.patch +++ b/package/openswan/patches/110-scripts.patch @@ -227,3 +227,15 @@ 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 -- 2.30.2