Browse Source

stuped mistake

Roman Dmitriev 2 years ago
parent
commit
506aba43ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html/inc/common.php

+ 1 - 1
html/inc/common.php

@@ -489,7 +489,7 @@ function print_subnet_select_office_splitted($db, $subnet_name, $subnet_value)
         print_select_item($f_subnet_name, $f_subnet_name, $subnet_value);
         print_select_item($f_subnet_name, $f_subnet_name, $subnet_value);
         if (!preg_match('/\/24$/',$subnet_value)) {
         if (!preg_match('/\/24$/',$subnet_value)) {
             while ($f_start_ip<=$f_stop_ip) {
             while ($f_start_ip<=$f_stop_ip) {
-                print_select_item("&nbsp&nbsp-&nbsp".$f_start_ip."/24", $f_start_ip."/24", $subnet_value);
+                print_select_item("&nbsp&nbsp-&nbsp".long2ip($f_start_ip)."/24", long2ip($f_start_ip)."/24", $subnet_value);
                 $f_start_ip+=256;
                 $f_start_ip+=256;
                 }
                 }
             }
             }