]> git.ipfire.org Git - thirdparty/bird.git/commit
Netlink: Do unified scan for both IPv4 and IPv6
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 2 Jul 2019 14:30:36 +0000 (16:30 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 2 Jul 2019 14:30:36 +0000 (16:30 +0200)
commit1187627a1dded6a3673c0d43033f431f15cd1b8f
tree4d3cada10f09ea09625d4c80f8140d214cfef4f5
parent026bfedb332d8c0dde28c693c177fe993b5df26d
Netlink: Do unified scan for both IPv4 and IPv6

Instead of separate scans for IPv4, IPv6 and MPLS, do one AF_UNSPEC scan.

This also avoids kernel issue when kernel reported IPv4 and IPv6 routes
during MPLS scan if MPLS is not active.
sysdep/linux/netlink.c