aboutsummaryrefslogtreecommitdiffstats
path: root/package/openswan/patches/scripts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/patches/scripts.patch')
-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 45296f0333..2ac2b57c85 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 {