about 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:39:12 +0200
committerMichael Biebl <biebl@debian.org>2015-07-14 19:39:12 +0200
commit34b1c46437df982495d08a8bbb8bd0b262d8af48 (patch)
tree1db29ec39d9f733922b3a33cabcc8e6486fa06aa /src/rdisc/tests/test-rdisc-linux.c
parent50fc50153b0036516b853aa576dc435bd53ce736 (diff)
parent50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (diff)
Merge tag 'upstream/1.0.4'
Upstream version 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;