Fix private_interfaces globbing
authorRoy Marples <roy@marples.name>
Thu, 19 May 2016 09:29:59 +0000 (09:29 +0000)
committerRoy Marples <roy@marples.name>
Thu, 19 May 2016 09:29:59 +0000 (09:29 +0000)
resolvconf.in

index 33594376a93035e4054723939a27634c0959ed63..419614512034af725a97a6c8d46b72b30c7de3a3 100644 (file)
@@ -152,7 +152,7 @@ parse_resolv()
                                        private=false
                                        for p in $private_interfaces; do
                                                case "$iface" in
-                                               "$p"|"$p":*) private=true; break;;
+                                               $p|$p:*) private=true; break;;
                                                esac
                                        done
                                fi