Ignore invalid 0.0.0.0 nameservers.
authorRoy Marples <roy@marples.name>
Thu, 26 Mar 2009 00:55:22 +0000 (00:55 +0000)
committerRoy Marples <roy@marples.name>
Thu, 26 Mar 2009 00:55:22 +0000 (00:55 +0000)
resolvconf.in

index d2c1049ca21ee18340a699beb646e7d3d29916e8..1d3afc6312e34582dce42b1f049734ff35973817 100644 (file)
@@ -128,7 +128,7 @@ parse_resolv()
                        ;;
                "nameserver "*)
                        case "${line#* }" in
                        ;;
                "nameserver "*)
                        case "${line#* }" in
-                       127.*) continue;;
+                       127.*|0.0.0.0) continue;;
                        esac
                        ns="${ns}${line#* } "
                        ;;
                        esac
                        ns="${ns}${line#* } "
                        ;;