projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6dee4
)
Netmask is optional
author
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 3 Nov 2009 18:51:48 +0000
(18:51 +0000)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Tue, 3 Nov 2009 19:06:45 +0000
(19:06 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
patch
|
blob
|
history
diff --git
a/cstp.c
b/cstp.c
index
1bba405
..
e5736da
100644
(file)
--- a/
cstp.c
+++ b/
cstp.c
@@
-269,8
+269,6
@@
static int start_cstp_connection(struct openconnect_info *vpninfo)
vpninfo->progress(vpninfo, PRG_ERR, "No IP address received. Aborting\n");
return -EINVAL;
}
- if (vpninfo->vpn_addr && !vpninfo->vpn_netmask)
- vpninfo->vpn_netmask = "255.255.255.255";
if (old_addr) {
if (strcmp(old_addr, vpninfo->vpn_addr)) {
vpninfo->progress(vpninfo, PRG_ERR, "Reconnect gave different Legacy IP address (%s != %s)\n",