diff --git a/web/bulk/ip/index.php b/web/bulk/ip/index.php index 8f5792478..846d83676 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 3cd81d4a5..e2697d664 100644 --- a/web/templates/admin/list_ip.html +++ b/web/templates/admin/list_ip.html @@ -16,6 +16,7 @@