]> git.ipfire.org Git - thirdparty/bird.git/commit
Static: Fix invalid combination of nexthop options
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 21 Mar 2024 23:40:06 +0000 (00:40 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 21 Mar 2024 23:40:06 +0000 (00:40 +0100)
commita698f8d917af8e9b421a667766a42f45e9359616
tree377490821aee6d352ddcb76c2a62933d0312584c
parentd21a508e8d9210f5b3b60d8fc8b79a344d4a7440
Static: Fix invalid combination of nexthop options

BFD requires defined local IP, but for nexthop with onlink there might
not be such address. So we reject this combination of nexthop options.
This prevent crash where such combination of options is used.
proto/static/config.Y