]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Network.pm
add netmasks starting from /8 to local netmask list
[pve-common.git] / src / PVE / Network.pm
index ab073505710150a5a24bea052e52070117fe99a6..ce4305a3390454f71d3141f14146965079c1a0c2 100644 (file)
@@ -56,6 +56,14 @@ our $ipv4_reverse_mask = [
 ];
 
 our $ipv4_mask_hash_localnet = {
+    '255.0.0.0' => 8,
+    '255.128.0.0' => 9,
+    '255.192.0.0' => 10,
+    '255.224.0.0' => 11,
+    '255.240.0.0' => 12,
+    '255.248.0.0' => 13,
+    '255.252.0.0' => 14,
+    '255.254.0.0' => 15,
     '255.255.0.0' => 16,
     '255.255.128.0' => 17,
     '255.255.192.0' => 18,