Fixes client mac obfuscation. Node to node links stay untouched now.
This commit is contained in:
parent
634b37fee2
commit
cd743ff46c
1 changed files with 6 additions and 0 deletions
|
@ -232,6 +232,12 @@ class NodeDB:
|
|||
try:
|
||||
node_source = self.maybe_node_by_fuzzy_mac(ids)
|
||||
node_target = self.maybe_node_by_id(idt)
|
||||
|
||||
if not node_source.flags['client'] and not node_target.flags['client']:
|
||||
# if none of the nodes associated with this link are clients,
|
||||
# we do not want to obscure
|
||||
continue
|
||||
|
||||
if ids in clientIds and idt in clientIds:
|
||||
# This is for corner cases, when a client
|
||||
# is linked to another client.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue