BSD: Use correct ifindex from route messages
authorRoy Marples <roy@marples.name>
Tue, 19 Jan 2016 16:36:45 +0000 (16:36 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 5 Feb 2016 10:36:44 +0000 (12:36 +0200)
commitdc0ad60314ad85f1983870095fa19128a0457a2e
tree5687e7189a159ae8533bd92fbdfaafdfcd6fd9d8
parent5f17b2c60edf7963abf2cef72f3b0346e847bcb4
BSD: Use correct ifindex from route messages

Use the interface index from the correct structure according to the
message instead of assuming rtm_index is correct.

Signed-off-by: Roy Marples <roy@marples.name>
src/drivers/driver_bsd.c