bundles/bird: do not auto-generate config if peer does not use bird

This commit is contained in:
Franzi 2023-09-24 18:48:24 +02:00
parent 4084e764e4
commit d6eb0b4228
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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,