dns: use compile time initialization for structs, remove unnecessary call to inet_aton
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Jun 2014 20:55:37 +0000 (22:55 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Jun 2014 20:57:14 +0000 (22:57 +0200)
commit00129b08c5e5df7639119cac812c765736a4c7c1
treee352c16e14f248a379ffc5f019210e5766008aa1
parent8381f595a6066f893cc24e8a161e27a10a140cf0
dns: use compile time initialization for structs, remove unnecessary call to inet_aton

Also avoids excessive stack utilization for buffer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
dns.c