Don’t use onlink flag for nexthop

This is rejected by the kernel.
This commit is contained in:
Demi Marie Obenour 2020-11-13 12:51:15 -05:00
parent 3e7552856f
commit 9646acb18e
No known key found for this signature in database
GPG Key ID: 28A45C93B0B5B6E0

View File

@ -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