mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
nlmanager: ipnetwork: fix 'IPv4Address' object has no attribute 'split' exception nlpacket: use IP[v4|6]Address object when network mask is not provided or needed nlpacket: AttributeIPAddress: fix decode handler for Routes During the python2 to 3 migration there was some refactoring Seems like some code specific to Route-decoding was removed This patch is fixing the issue by re-adding this code and tweaking it a little bit (to make it nice and clean :)) Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
DO NOT EDIT NLMANAGER SOURCES. This is a mirror copy of python-nlmanager sources. It was extracted and directly included here to support some usecases where user don't have python-nlmanager already installed on their system. So we decided to have local copy and build with it. It is the mainter responsability to keep an updated version of nlmanager.