diff options
| author | Feng Lu <lu.feng@6wind.com> | 2015-05-22 11:39:55 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-09 09:25:49 -0400 |
| commit | 322e59645d6d5a0863c383faf4fd6900ab7c630f (patch) | |
| tree | 39f6373f140d8e404341acd00f6382f01a943a11 /lib/workqueue.c | |
| parent | 35d921cc20eca237893492dafe661f94d4e87837 (diff) | |
ospf6d, bgpd: avoid calling if_nametoindex
As the comments in if.h, it is better to call ifname2ifindex()
instead of if_nametoindex().
And ifname2ifindex() can work for VRF by appending a parameter
while if_nametoindex() can not.
Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 395828eea809e8b2b8c5824d3639cefedd7aa9f0)
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
