simplify peering
This commit is contained in:
parent
b4e7b0ca3e
commit
382e0a74af
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ in
|
||||||
PersistentKeepalive = mkIf (peer.subnet != host.subnet) cfg.persistentKeepalive;
|
PersistentKeepalive = mkIf (peer.subnet != host.subnet) cfg.persistentKeepalive;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(filterAttrs (name: peer: peer != host && (host.subnet == "internet" || canDirectPeer host peer)) hosts);
|
(filterAttrs (name: peer: peer != host && (canDirectPeer host peer || canDirectPeer peer host)) hosts);
|
||||||
};
|
};
|
||||||
|
|
||||||
networks."30-birdsong" = {
|
networks."30-birdsong" = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue