From 6e37ee384fecdec5af1df06fd94c5c350f2b4747 Mon Sep 17 00:00:00 2001 From: Radu Carpa Date: Tue, 17 Jan 2023 18:13:37 +0100 Subject: [PATCH] Filter: Allow setting the 'onlink' route attribute in filters Add static route attribute to set onlink flag for route next hop. Can be used to build a dynamically routed IP-in-IP overlay network. Usage: ifname = "tunl0"; onlink = true; gw = bgp_next_hop; --- doc/bird.sgml | 8 ++++++++ filter/config.Y | 3 ++- filter/data.h | 1 + filter/f-inst.c | 14 ++++++++++++-- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 50657ebf..001fcbd4 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1816,6 +1816,14 @@ Common route attributes are: creation/removal. Zero is returned for routes with undefined outgoing interfaces. Read-only. +