Skip to content

Commit 8af93d5

Browse files
committed
v1.1.4
1 parent e59763e commit 8af93d5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/peer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class Peer {
3434
}
3535

3636
deny() {
37-
this.active = false;
3837
return "iptables -D " + this.group + " -s " + this.addresses[0] + " -j ACCEPT\n";
3938
}
4039

@@ -57,6 +56,7 @@ class Peer {
5756
}
5857

5958
deactivate() {
59+
this.active = false;
6060
Tools.execute(this.deny());
6161
}
6262
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wireguarode",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "Wireguard management tool with ACLs and 2FA",
55
"main": "./lib/wireguard.js",
66
"bin": {

0 commit comments

Comments
 (0)