diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2013-12-05 23:48:27 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-12-09 14:33:27 (GMT) |
commit | 017c9711427ad3169f248e9fc41972cf87f858b0 (patch) | |
tree | 72ab6737d38498dcf2bbd668f8fc05b0b3a777f7 /lib/route/act | |
parent | b5309e1ea4c583c185258de1108ef49d9f0b8de9 (diff) | |
download | libnl-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 'lib/route/act')
-rw-r--r-- | lib/route/act/mirred.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/route/act/mirred.c b/lib/route/act/mirred.c index 43b223f..37deada 100644 --- a/lib/route/act/mirred.c +++ b/lib/route/act/mirred.c @@ -151,14 +151,14 @@ int rtnl_mirred_set_action(struct rtnl_act *act, int action) return 0; } -int rtnl_mirred_set_index(struct rtnl_act *act, uint32_t link) +int rtnl_mirred_set_ifindex(struct rtnl_act *act, uint32_t ifindex) { struct rtnl_mirred *u; if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) return -NLE_NOMEM; - u->m_parm.ifindex = link; + u->m_parm.ifindex = ifindex; return 0; } |