1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests: fix gnrc_sock_dns test for gnrc_netif2

This commit is contained in:
Martine Lenders 2017-11-08 15:33:53 +01:00
parent e1ce254139
commit 84b646aaa4
No known key found for this signature in database
GPG Key ID: 8E97A9FE55F25D62

View File

@ -40,7 +40,7 @@ sock_udp_ep_t sock_dns_server;
/* import "ifconfig" shell command, used for printing addresses */ /* import "ifconfig" shell command, used for printing addresses */
extern int _netif_config(int argc, char **argv); extern int _gnrc_netif2_config(int argc, char **argv);
int main(void) int main(void)
{ {
@ -53,7 +53,7 @@ int main(void)
/* print network addresses */ /* print network addresses */
puts("Configured network interfaces:"); puts("Configured network interfaces:");
_netif_config(0, NULL); _gnrc_netif2_config(0, NULL);
int res = sock_dns_query(TEST_NAME, addr, AF_UNSPEC); int res = sock_dns_query(TEST_NAME, addr, AF_UNSPEC);
if (res > 0) { if (res > 0) {