[backfire] merge r21638
[openwrt-10.03/.git] / package / base-files / files / sbin / ifdown
index 7c6a5b7061cba9f1d7b6210b8babc110314588e1..92cdfd2b02460ebce247d44ea6b8bc6936714537 100755 (executable)
@@ -40,6 +40,9 @@ done
 config_get iftype "$cfg" type
 [ "bridge" = "$iftype" ] && brctl delbr "$ifname" >/dev/null 2>/dev/null
 
+# remove the interface's dns entries
+remove_dns "$cfg"
+
 # remove the interface's network state
 uci_revert_state network "$1"