mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
IPNetwork doesn't exists anymore and is replaced by ip_network. IPv?Network (4 and 6) objects take an optional argument "strict" that defaults to True. If strict is set and the ip address has the host bit set it will raise an exception. This is bad for ifupdown2, so we need to replace all calls to IPNetwork and IPv?Network with function who will set strict to False. That way we can limit the number of changes for this patch. Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>