]> git.ipfire.org Git - thirdparty/bird.git/commit
Static: Allow to define both nexthop and interface
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 16 Feb 2024 17:44:40 +0000 (18:44 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 16 Feb 2024 17:44:40 +0000 (18:44 +0100)
commitc3335b504403136ef8deb81cb034480a65ca2815
treec63e160e1ce983154bb082d107f93617ab329314
parent5c04f0e2354ff0cca9b1479e68882b72755f3aab
Static: Allow to define both nexthop and interface

Allow to define both nexthop and interface using iproute2-like syntax,
e.g.: route 10.0.0.0/16 via 10.1.0.1 dev "eth0";

Now we can avoid to use link-local scope hack (e.g. 10.1.0.1%eth0)
for cases where both nexthop and interface have to be defined.

Thanks to Marcin Saklak for the suggestion.
doc/bird.sgml
proto/static/config.Y