]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
remove vestigial copy/pasted bits from F5/Fortinet
authorDaniel Lenski <dlenski@gmail.com>
Wed, 20 May 2020 01:46:15 +0000 (18:46 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Wed, 20 May 2020 01:46:15 +0000 (18:46 -0700)
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
f5.c
fortinet.c

diff --git a/f5.c b/f5.c
index 9a9ffb5bc427f10880035dbf296ca3c068c8c84d..baaeeaa8820fe17c49ff3d740271179cada6fe69 100644 (file)
--- a/f5.c
+++ b/f5.c
@@ -436,11 +436,6 @@ int f5_connect(struct openconnect_info *vpninfo)
        }
        buf_free(reqbuf);
 
-       free(vpninfo->cstp_pkt);
-       vpninfo->cstp_pkt = NULL;
-
-       vpninfo->ip_info.mtu = 1400;
-
        return ret;
 }
 
index 79ca38ec9f20313cb08cb222977fbd1eb0511dc0..be0d20fa88a8db44b5169ecf64fe23319de96141 100644 (file)
@@ -325,11 +325,6 @@ int fortinet_connect(struct openconnect_info *vpninfo)
        buf_free(reqbuf);
        free(res_buf);
 
-       free(vpninfo->cstp_pkt);
-       vpninfo->cstp_pkt = NULL;
-
-       vpninfo->ip_info.mtu = 1400;
-
        return ret;
 }