mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 08:52:58 +02:00
ipsecctrl: Reload IPsec block rules after connection is deleted
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -173,6 +173,9 @@ void turn_connection_off (char *name) {
|
||||
|
||||
// Reload, so the connection is dropped.
|
||||
ipsec_reload();
|
||||
|
||||
// Reload the IPsec block chain
|
||||
safe_system("/usr/lib/firewall/ipsec-block >/dev/null");
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
Reference in New Issue
Block a user