Skip to content

Commit 01375ff

Browse files
Add reconnect message
1 parent 77d2d77 commit 01375ff

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

arch/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Proton Technologies AG <[email protected]>
22
pkgname=protonvpn-cli
33
pkgver=3.11.1
4-
pkgrel=3
4+
pkgrel=4
55
pkgdesc="Official ProtonVPN CLI."
66
arch=("any")
77
url="https://github.com/ProtonVPN/"

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
protonvpn-cli (3.11.1-3) unstable; urgency=medium
1+
protonvpn-cli (3.11.1-4) unstable; urgency=medium
22

33
* Bugfix: Display message when incorrectly formatted servername is provided
44
* Feature: Moderate NAT, Non Standard Ports

protonvpn_cli/cli_wrapper.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,11 @@ def set_moderate_nat(self, status):
168168
print(e)
169169
return 1
170170

171-
print("\nModerate NAT has been {}d. ".format(status))
171+
print(
172+
"\nModerate NAT has been {}d. "
173+
"\nIf connected to VPN, please reconnect for "
174+
"changes to take effect.".format(status)
175+
)
172176
return 0
173177

174178
def set_non_standard_ports(self, status):
@@ -192,7 +196,11 @@ def set_non_standard_ports(self, status):
192196
print(e)
193197
return 1
194198

195-
print("\nNon Standard Ports have been {}d. ".format(status))
199+
print(
200+
"\nNon Standard Ports have been {}d. "
201+
"\nIf connected to VPN, please reconnect for "
202+
"changes to take effect.".format(status)
203+
)
196204
return 0
197205

198206
def logout(self):

rpmbuild/SPECS/protonvpn-cli.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%define unmangled_name protonvpn-cli
22
%define version 3.11.1
3-
%define release 3
3+
%define release 4
44

55
Prefix: %{_prefix}
66

@@ -46,7 +46,7 @@ rm -rf $RPM_BUILD_ROOT
4646
%defattr(-,root,root)
4747

4848
%changelog
49-
* Thu Dez 16 2021 Proton Technologies AG <[email protected]> 3.11.1-3
49+
* Thu Dez 16 2021 Proton Technologies AG <[email protected]> 3.11.1-4
5050
- Bugfix: Display message when incorrectly formatted servername is provided
5151
- Feature: Moderate NAT, Non Standard Ports
5252

0 commit comments

Comments
 (0)