summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2009-04-15 22:00:31 +0000
committerCédric Krier <cedk@gentoo.org>2009-04-15 22:00:31 +0000
commitb4d8f423eb3401e8d9084ce8964772dfe0dda987 (patch)
treebeda2e7f0e899955a37516d940e28a74b6e8ac3b /net-misc/openvpn/files
parentRun eautoreconf, bug #255857 (diff)
downloadhistorical-b4d8f423eb3401e8d9084ce8964772dfe0dda987.tar.gz
historical-b4d8f423eb3401e8d9084ce8964772dfe0dda987.tar.bz2
historical-b4d8f423eb3401e8d9084ce8964772dfe0dda987.zip
Fix up.sh to add search for all domains for bug #259382
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'net-misc/openvpn/files')
-rwxr-xr-xnet-misc/openvpn/files/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/openvpn/files/up.sh b/net-misc/openvpn/files/up.sh
index d0879b83c08d..c47c34aabad4 100755
--- a/net-misc/openvpn/files/up.sh
+++ b/net-misc/openvpn/files/up.sh
@@ -31,7 +31,7 @@ if [ "${PEER_DNS}" != "no" ]; then
if [ -z "${DOMAIN}" ] ; then
DOMAIN="${opt#dhcp-option DOMAIN *}"
else
- SEARCH="${SEARCH:+ }${opt#dhcp-option DOMAIN *}"
+ SEARCH="${SEARCH}${SEARCH:+ }${opt#dhcp-option DOMAIN *}"
fi
elif [ "${opt}" != "${opt#dhcp-option DNS *}" ] ; then
NS="${NS}nameserver ${opt#dhcp-option DNS *}\n"