1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

vlan node bind in __init__ failed because empty networks are falsy

This commit is contained in:
Joel Bender 2017-08-02 23:51:31 -04:00
parent ab7ef56fe7
commit 38c8fb2613
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ class Node(Server):
self.address = addr
# bind to a lan if it was provided
if lan:
if lan is not None:
self.bind(lan)
# might receive all packets and might spoof

View File

@ -98,7 +98,7 @@ class Node(Server):
self.address = addr
# bind to a lan if it was provided
if lan:
if lan is not None:
self.bind(lan)
# might receive all packets and might spoof

View File

@ -98,7 +98,7 @@ class Node(Server):
self.address = addr
# bind to a lan if it was provided
if lan:
if lan is not None:
self.bind(lan)
# might receive all packets and might spoof