mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
nlcache: fix TypeError: argument of type 'IPNetwork' is not iterable
Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
@@ -3172,8 +3172,8 @@ class NetlinkListenerWithCache(nllistener.NetlinkManagerWithListener, BaseObject
|
||||
|
||||
if peer:
|
||||
log_msg.append("peer %s" % peer)
|
||||
peer = ipnetwork.IPAddress(peer)
|
||||
|
||||
# peer is already in nlmanager.ipnetwork.IPNetwork format
|
||||
packet.add_attribute(Address.IFA_ADDRESS, peer)
|
||||
packet_prefixlen = peer.prefixlen
|
||||
else:
|
||||
|
Reference in New Issue
Block a user