ra: align ifindex resolving
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 6 Jan 2021 20:15:49 +0000 (21:15 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 20 Jan 2021 20:02:57 +0000 (21:02 +0100)
commitf16afb7e167e23718ae3d8573082a410b718ae4c
tree4d6a6e374c453b33d9202a3bac642f45d05b1bd4
parente199804b602a48eb69f0752584c0ad28495b82ad
ra: align ifindex resolving

Use ioctl SIOCGIFINDEX to resolve ifindex similar as in init_dhcpv6

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(cherry picked from commit 2b6959dfe2095402e004b63d9aca9900c074abb6)
src/ra.c