summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2022-07-26 18:45:20 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2022-07-26 18:45:20 +0200
commitddb1bdf2819ce69248d5a51e71d803f13548b217 (patch)
treee1903f8339058875f6e5526a75724126b3eadfd0 /sysdep/unix/krt.c
parent722daa950046a7ad307fd7aca8e0506f30b3d000 (diff)
Netlink: Restrict route replace for IPv6
Seems like the previous patch was too optimistic, as route replace is still broken even in Linux 4.19 LTS (but fixed in Linux 5.10 LTS) for: ip route add 2001:db8::/32 via fe80::1 dev eth0 ip route replace 2001:db8::/32 dev eth0 It ends with two routes instead of just the second. The issue is limited to direct and special type (e.g. unreachable) routes, the patch restricts route replace for cases when the new route is a regular route (with a next hop address).
Diffstat (limited to 'sysdep/unix/krt.c')
0 files changed, 0 insertions, 0 deletions