summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openswan/patches/scripts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/openswan/patches/scripts.patch')
-rw-r--r--openwrt/package/openswan/patches/scripts.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/openswan/patches/scripts.patch b/openwrt/package/openswan/patches/scripts.patch
index 45296f033..2ac2b57c8 100644
--- a/openwrt/package/openswan/patches/scripts.patch
+++ b/openwrt/package/openswan/patches/scripts.patch
@@ -82,7 +82,7 @@ diff -uNr openswan-2.3.0.orig/programs/showhostkey/showhostkey.in openswan-2.3.0
fi
-host="`hostname --fqdn`"
-+host="`nvram get wan_hostname`"
++host="`cat /proc/sys/kernel/hostname`"
awk ' BEGIN {