summary refs log tree commit diff
path: root/src/rdisc/tests/test-rdisc-linux.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-07-14 19:38:58 +0200
committerMichael Biebl <biebl@debian.org>2015-07-14 19:38:58 +0200
commit50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (patch)
tree6790165f39daee79e2b6c6617483320613493367 /src/rdisc/tests/test-rdisc-linux.c
parentf408e27bccfacf347605a8d98649975a68f38a17 (diff)
Imported Upstream version 1.0.4 upstream/1.0.4
Diffstat (limited to 'src/rdisc/tests/test-rdisc-linux.c')
-rw-r--r--src/rdisc/tests/test-rdisc-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rdisc/tests/test-rdisc-linux.c b/src/rdisc/tests/test-rdisc-linux.c
index 9b2ccafd..eddb3b0e 100644
--- a/src/rdisc/tests/test-rdisc-linux.c
+++ b/src/rdisc/tests/test-rdisc-linux.c
@@ -54,7 +54,7 @@ main (int argc, char **argv)
 
 	if (argv[1]) {
 		ifname = argv[1];
-		ifindex = nm_platform_link_get_ifindex (ifname);
+		ifindex = nm_platform_link_get_ifindex (NM_PLATFORM_GET, ifname);
 	} else {
 		g_print ("Missing command line argument \"interface-name\"\n");
 		return EXIT_FAILURE;