]> git.proxmox.com Git - pve-common.git/commit - src/PVE/INotify.pm
INotify: use cidr for address on config change
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 20 Feb 2020 11:55:18 +0000 (12:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 4 Mar 2020 13:59:34 +0000 (14:59 +0100)
commit378c6656c9aba1d57786f916717c2622a3059fb6
tree7a4f8fe00bfbff05f7011d1ba71c1517ded4d176
parent5bd1e56b7ab7100dcd8d3e75394e1508306ba69d
INotify: use cidr for address on config change

netmask/broadcast options are deprecated since buster
https://manpages.debian.org/buster/ifupdown/interfaces.5.en.html

This still read both "old address/netmask" or "address cidr" format,
but always convert it to cidr address format

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/PVE/INotify.pm
test/etc_network_interfaces/t.bridge-v4-v6.pl
test/etc_network_interfaces/t.create_network.pl
test/etc_network_interfaces/t.list-interfaces.pl
test/etc_network_interfaces/t.ovs_bridge_allow.pl
test/etc_network_interfaces/t.parsed_options.pl
test/etc_network_interfaces/t.unknown_order.pl
test/etc_network_interfaces/t.update_network.pl