From d6eb0b42289729cdcbeb88ddd4b997fac395af21 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 24 Sep 2023 18:48:24 +0200 Subject: [PATCH] bundles/bird: do not auto-generate config if peer does not use bird --- bundles/bird/metadata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/bird/metadata.py b/bundles/bird/metadata.py index 38794ba..c442a26 100644 --- a/bundles/bird/metadata.py +++ b/bundles/bird/metadata.py @@ -43,6 +43,9 @@ def neighbor_info_from_wireguard(metadata): except NoSuchNode: continue + if not rnode.has_bundle('bird'): + continue + neighbors[name] = { 'local_ip': config['my_ip'], 'local_as': my_as,