Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not remove last line with stats when connection is terminated because... #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexanderad
Copy link

... of no response from ncsvc.

Example:

alex@debian:~/jvpn$ ./jvpn.pl 
Enter PIN+password: *********
Transfer went ok
Got DSID
Certificate fingerprint:  [****************************]
TCP Connection to ncsvc process established.
Sending handshake #1 packet...  [done]
Sending handshake #2 packet...  [done]
Sending configuration packet... [done]
Running user-defined script
IP: 10.12.134.203 Gateway: 10.200.200.200
DNS1: 10.12.1.61  DNS2: 10.12.1.101
Connected to ************, press CTRL+C to exit
Duration: 00:00:30  Sent: 0.00 B        Received: 0.00 B      <-- this line is missing
No response from ncsvc, closing connection
Logging out...
Killing ncsvc...
restoring resolv.conf
Running user-defined script
Exiting

BTW, for ncui version everything is OK with stats on connection lost, the \r is printed just before stats refresh, as in this PR.

P.S. thank you for a great script!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant