summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2013-12-05 23:48:27 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-12-09 14:33:27 (GMT)
commit017c9711427ad3169f248e9fc41972cf87f858b0 (patch)
tree72ab6737d38498dcf2bbd668f8fc05b0b3a777f7 /tests
parentb5309e1ea4c583c185258de1108ef49d9f0b8de9 (diff)
downloadlibnl-017c9711427ad3169f248e9fc41972cf87f858b0.zip
libnl-017c9711427ad3169f248e9fc41972cf87f858b0.tar.gz
libnl-017c9711427ad3169f248e9fc41972cf87f858b0.tar.bz2
rename rtnl_mirred_set_index() to rtnl_mirred_set_ifindex()
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-u32-filter-with-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-u32-filter-with-actions.c b/tests/test-u32-filter-with-actions.c
index 706b464..55f913a 100644
--- a/tests/test-u32-filter-with-actions.c
+++ b/tests/test-u32-filter-with-actions.c
@@ -382,7 +382,7 @@ int main(void)
rtnl_tc_set_kind(TC_CAST(act), "mirred");
rtnl_mirred_set_action(act, TCA_EGRESS_REDIR);
rtnl_mirred_set_policy(act, TC_ACT_STOLEN);
- rtnl_mirred_set_index(act, rtnl_link_name2i(link_cache, "eth1"));
+ rtnl_mirred_set_ifindex(act, rtnl_link_name2i(link_cache, "eth1"));
// /8 check
// 10.0.0.0/8