Don’t use onlink flag for nexthop

This is rejected by the kernel.
Esse commit está contido em:
Demi Marie Obenour 2020-11-13 12:51:15 -05:00
commit 9646acb18e
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 28A45C93B0B5B6E0

Ver arquivo

@ -160,7 +160,7 @@ if [ "${ip}" ]; then
log error "Cannot set IPv6 route to ${addr}, IPv6 disabled in the kernel"
continue
fi
${cmdprefix} ip route "${ipcmd}" "${addr}" dev "${vif}" metric "$metric" onlink
${cmdprefix} ip route "${ipcmd}" "${addr}" dev "${vif}" metric "$metric"
network_hooks "${command}" "${vif}" "${addr}"
done