Révision 130a84c5
Ajouté par Ermal il y a plus de 9 ans
usr/local/www/vpn_ipsec_keys.php | ||
---|---|---|
53 | 53 |
} |
54 | 54 |
} |
55 | 55 |
|
56 |
if ($_POST) { |
|
57 |
if ($_POST['apply']) { |
|
58 |
$retval = 0; |
|
59 |
$retval = vpn_ipsec_configure(); |
|
60 |
/* reload the filter in the background */ |
|
61 |
filter_configure(); |
|
62 |
$savemsg = get_std_save_message($retval); |
|
63 |
if (is_subsystem_dirty('ipsec')) |
|
64 |
clear_subsystem_dirty('ipsec'); |
|
65 |
} |
|
66 |
} |
|
56 | 67 |
|
57 | 68 |
if ($_GET['act'] == "del") { |
58 | 69 |
if ($a_secret[$_GET['id']]) { |
Formats disponibles : Unified diff
Do the proper action if Apply button is pressed even on the preshared keys page