Document prepend_search and prepend_nameservers.
[openresolv] / libc.in
diff --git a/libc.in b/libc.in
index 25295a96d0b2ad98110bcf6f286ce4d261f6ec2a..3be134bfc83f6a4eea71274c1601de637a44b69d 100644 (file)
--- a/libc.in
+++ b/libc.in
@@ -151,11 +151,11 @@ case "${resolv_conf_passthrough:-NO}" in
 [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) ;;
 *)
        : ${domain:=$DOMAIN}
-       newsearch="$(uniqify $prepend_search $SEARCH)"
+       newsearch="$(uniqify $prepend_search $SEARCH $append_search)"
        NS="$LOCALNAMESERVERS $NAMESERVERS"
        newns=
        gotlocal=false
-       for n in $(uniqify $prepend_nameservers $NS); do
+       for n in $(uniqify $prepend_nameservers $NS $append_nameservers); do
                add=true
                islocal=false
                for l in $local_nameservers; do