netifd: return the interface for locally addressable host dependencies (FS#1452)
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Mar 2018 09:28:54 +0000 (11:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 27 Mar 2018 09:31:16 +0000 (11:31 +0200)
commit9c8d7816fc5e966b0c0efab9c1234734e0c5c254
treeae3e1d015f9bf3c509df5f767c190bd2529b8a4c
parent69aeaabcfb62d1821275cd0c076ef557c6814c51
netifd: return the interface for locally addressable host dependencies (FS#1452)

Fixes an issue where interfaces with host dependencies that resolve to a
local subnet stay down.

Fixes: 1f5a29c3de6e ("ip: do not add local routes for host dependencies")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface-ip.c