grpc: added wlan/emane links to grpc calls to allow knowing initial wireless link state, same as before changes
This commit is contained in:
parent
dc9b6adc98
commit
e5e14ad67b
3 changed files with 12 additions and 6 deletions
|
@ -781,10 +781,10 @@ class WlanNode(CoreNetwork):
|
|||
:param flags: message flags
|
||||
:return: list of link data
|
||||
"""
|
||||
links = super().links(flags)
|
||||
if self.model:
|
||||
links.extend(self.model.links(flags))
|
||||
return links
|
||||
return self.model.links(flags)
|
||||
else:
|
||||
return []
|
||||
|
||||
|
||||
class TunnelNode(GreTapBridge):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue