mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-16 21:29:20 +02:00
#78, print server tunnel ip
This commit is contained in:
parent
01e558022e
commit
0cdd537819
|
@ -23,6 +23,7 @@ CHANGES:
|
||||||
misc at mandriva.org. Fixes #70.
|
misc at mandriva.org. Fixes #70.
|
||||||
- Allow password to be set via environment variable, fixes #77.
|
- Allow password to be set via environment variable, fixes #77.
|
||||||
Based on patch by logix.
|
Based on patch by logix.
|
||||||
|
- Client now prints server tunnel IP, fixes #78. Patch by logix.
|
||||||
|
|
||||||
2009-06-01: 0.5.2 "WifiFree"
|
2009-06-01: 0.5.2 "WifiFree"
|
||||||
- Fixed client segfault on OS X, #57
|
- Fixed client segfault on OS X, #57
|
||||||
|
|
|
@ -742,6 +742,8 @@ handshake_login(int dns_fd, int seed)
|
||||||
client[64] = 0;
|
client[64] = 0;
|
||||||
if (tun_setip(client, netmask) == 0 &&
|
if (tun_setip(client, netmask) == 0 &&
|
||||||
tun_setmtu(mtu) == 0) {
|
tun_setmtu(mtu) == 0) {
|
||||||
|
|
||||||
|
fprintf(stderr, "Server tunnel IP is %s\n", server);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
errx(4, "Failed to set IP and MTU");
|
errx(4, "Failed to set IP and MTU");
|
||||||
|
|
Loading…
Reference in New Issue