mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-24 15:46:51 +00:00
![]() fixes commit 78c6656c9aba1d57786f916717c2622a3059fb6 which dropped writing out the netmask but missed to add compat code for the case where the caller did not suplly a address in CIDR format already. Check if an address ends with /\d+, if not see if a netmask is available and add that similar how it gets handled on read. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Reviewed-By: Stoiko Ivanov <s.ivanov@proxmox.com> Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com> |
||
---|---|---|
.. | ||
active_interfaces | ||
base | ||
brbase | ||
loopback | ||
Makefile | ||
proc_net_dev | ||
runtest.pl | ||
t.base.pl | ||
t.bridge_eth_remove_auto.pl | ||
t.bridge-v4-v6.pl | ||
t.create_network.pl | ||
t.keep-option-order.pl | ||
t.list-interfaces.pl | ||
t.ovs_bridge_allow.pl | ||
t.parsed_options.pl | ||
t.unhandled-interfaces-to-manual.pl | ||
t.unknown_order.pl | ||
t.update_network.pl |