diff --git a/web/bulk/ip/index.php b/web/bulk/ip/index.php
index 8f579247..846d8367 100644
--- a/web/bulk/ip/index.php
+++ b/web/bulk/ip/index.php
@@ -11,6 +11,10 @@ $action = $_POST['action'];
if ($_SESSION['user'] == 'admin') {
switch ($action) {
+ case 'reread IP': exec(VESTA_CMD."v-update-sys-ip", $output, $return_var);
+ header("Location: /list/ip/");
+ exit;
+ break;
case 'delete': $cmd='v-delete-sys-ip';
break;
default: header("Location: /list/ip/"); exit;
@@ -25,5 +29,4 @@ foreach ($ip as $value) {
exec (VESTA_CMD.$cmd." ".$value, $output, $return_var);
}
-
header("Location: /list/ip/");
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html
index 3cd81d4a..e2697d66 100644
--- a/web/templates/admin/list_ip.html
+++ b/web/templates/admin/list_ip.html
@@ -16,6 +16,7 @@