summaryrefslogtreecommitdiffstats
path: root/package/openswan/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/patches')
-rw-r--r--package/openswan/patches/scripts.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openswan/patches/scripts.patch b/package/openswan/patches/scripts.patch
index 45296f033..2ac2b57c8 100644
--- a/package/openswan/patches/scripts.patch
+++ b/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 {