From c3335b504403136ef8deb81cb034480a65ca2815 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 16 Feb 2024 18:44:40 +0100 Subject: [PATCH] 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 | 12 ++++++++++-- proto/static/config.Y | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 3861a595..76ca7f75 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -5940,6 +5940,12 @@ options ( section for details. Default value is no. +