diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-03-13 13:05:28 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-03-13 13:06:38 +0100 |
commit | 69aeaabcfb62d1821275cd0c076ef557c6814c51 (patch) | |
tree | a30a604c64f5c5372293b994b75ec8b06e13f480 /utils.c | |
parent | c06f84238952211b35c2940a82fcce3fcc3221c1 (diff) | |
download | netifd-69aeaabcfb62d1821275cd0c076ef557c6814c51.tar.gz |
interface-ip: fix route selection for host dependencies
In order to find the best match, allow overriding the last found entry
if route->mask for the new entry is bigger than the one from the previous
entry.
Patch submitted by 'Mikael' in FS#1358
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions