Gert Doering has uploaded a new patch set (#3) to the change originally created by Heiko Hund. ( https://gerrit.openvpn.net/c/openvpn/+/2347?usp=email )
The following approvals got outdated and were removed: Code-Review+1 by Deri Haerudi, Code-Review+2 by Răzvan Cojocaru Change subject: dns-scripts: don't re-evaluate collected search domains ...................................................................... dns-scripts: don't re-evaluate collected search domains $domains was expanded before eval, so the domains collected so far were parsed as shell code again. Escape it like the indexed variable. Change-Id: I247474b43ac7a22d16a150a856ae5643657eacdb Signed-off-by: Heiko Hund <[email protected]> Acked-by: Razvan Cojocaru <[email protected]> Reviewed-by: Deri Haerudi <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2347 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg42061.html Signed-off-by: Gert Doering <[email protected]> --- M distro/dns-scripts/haikuos_file-dns-updown.sh M distro/dns-scripts/resolvconf_file-dns-updown.sh M distro/dns-scripts/systemd-dns-updown.sh 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/47/2347/3 diff --git a/distro/dns-scripts/haikuos_file-dns-updown.sh b/distro/dns-scripts/haikuos_file-dns-updown.sh index e19b2b7..04e9e26 100644 --- a/distro/dns-scripts/haikuos_file-dns-updown.sh +++ b/distro/dns-scripts/haikuos_file-dns-updown.sh @@ -75,7 +75,7 @@ test -z "$dns_search_domain_1" || { for i in $(seq 1 6); do - eval domains=\"$domains\$dns_search_domain_${i} \" || break + eval domains=\"\$domains\$dns_search_domain_${i} \" || break done text="${text}search $domains\n" } diff --git a/distro/dns-scripts/resolvconf_file-dns-updown.sh b/distro/dns-scripts/resolvconf_file-dns-updown.sh index 8d23ed6..78bf9d3 100644 --- a/distro/dns-scripts/resolvconf_file-dns-updown.sh +++ b/distro/dns-scripts/resolvconf_file-dns-updown.sh @@ -75,7 +75,7 @@ test -z "$dns_search_domain_1" || { for i in $(seq 1 6); do - eval domains=\"$domains\$dns_search_domain_${i} \" || break + eval domains=\"\$domains\$dns_search_domain_${i} \" || break done text="${text}search $domains\n" } diff --git a/distro/dns-scripts/systemd-dns-updown.sh b/distro/dns-scripts/systemd-dns-updown.sh index 553056b..3bdaa4b 100644 --- a/distro/dns-scripts/systemd-dns-updown.sh +++ b/distro/dns-scripts/systemd-dns-updown.sh @@ -227,7 +227,7 @@ test -z "$dns_search_domain_1" || { for i in $(seq 1 6); do - eval domains=\"$domains\$dns_search_domain_${i} \" || break + eval domains=\"\$domains\$dns_search_domain_${i} \" || break done text="${text}search $domains\n" } -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2347?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I247474b43ac7a22d16a150a856ae5643657eacdb Gerrit-Change-Number: 2347 Gerrit-PatchSet: 3 Gerrit-Owner: Heiko Hund <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Deri Haerudi <[email protected]> Gerrit-Reviewer: Răzvan Cojocaru <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
