summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-13 15:03:29 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-13 15:03:29 +0200
commit2ac630138173e111e16b9c544d9da53f3af97f2e (patch)
treeec0d26f24d9aae50c76f46cbb20e647e207a2533 /interface-ip.c
parent5e5cd11724f6cf86edc5796e6b805573c767f757 (diff)
proto-shell: add dns server support
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-ip.c b/interface-ip.c
index c0a1bb9..8dae80d 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -97,6 +97,8 @@ interface_add_dns_server(struct interface *iface, const char *str)
return;
add:
+ D(INTERFACE, "Add IPv%c DNS server: %s\n",
+ s->af == AF_INET6 ? '6' : '4', str);
list_add_tail(&s->list, &iface->proto_dns_servers);
}