bundles/bird: do not auto-generate config if peer does not use bird
This commit is contained in:
parent
4084e764e4
commit
d6eb0b4228
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ def neighbor_info_from_wireguard(metadata):
|
||||||
except NoSuchNode:
|
except NoSuchNode:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if not rnode.has_bundle('bird'):
|
||||||
|
continue
|
||||||
|
|
||||||
neighbors[name] = {
|
neighbors[name] = {
|
||||||
'local_ip': config['my_ip'],
|
'local_ip': config['my_ip'],
|
||||||
'local_as': my_as,
|
'local_as': my_as,
|
||||||
|
|
Loading…
Reference in a new issue