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:
parent
e1ce254139
commit
84b646aaa4
@ -40,7 +40,7 @@ sock_udp_ep_t sock_dns_server;
|
||||
|
||||
/* 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)
|
||||
{
|
||||
@ -53,7 +53,7 @@ int main(void)
|
||||
|
||||
/* print network addresses */
|
||||
puts("Configured network interfaces:");
|
||||
_netif_config(0, NULL);
|
||||
_gnrc_netif2_config(0, NULL);
|
||||
|
||||
int res = sock_dns_query(TEST_NAME, addr, AF_UNSPEC);
|
||||
if (res > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user