Don’t use onlink flag for nexthop
This is rejected by the kernel.
This commit is contained in:
parent
3e7552856f
commit
9646acb18e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user