projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c1f3b
)
clean dns list if an interface is marked as down
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Oct 2011 13:13:22 +0000
(15:13 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 13 Oct 2011 13:13:22 +0000
(15:13 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 514b4d5e10035b3aa2e3e000724df73d2e23f41a..0a85e6f049ebd912bffa20ea4187c6a3770d95da 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-85,6
+85,7
@@
interface_event(struct interface *iface, enum interface_event ev)
static void
mark_interface_down(struct interface *iface)
{
+ interface_clear_dns(iface);
vlist_flush_all(&iface->proto_addr);
vlist_flush_all(&iface->proto_route);
if (iface->main_dev.dev)