diff options
| -rwxr-xr-x | src/fapi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -491,12 +491,12 @@ class Fapi(FapiBase): destination = f5().get_destination_v2([name])[0] port = str(destination['port']) ip = destination['address'].split('/')[-1] - headerdump = ip + '-header.txt' + headerdump = ip + ':' + port + '-header.txt' m = re.match('.*43$', port) if m: - return 'curl -D ' + headerdump + ' -k https://' + ip + return 'curl -m 3 -D ' + headerdump + ' -k https://' + ip else: - return 'curl -D ' + headerdump + ' http://' + ip + return 'curl -m 3 -D ' + headerdump + ' http://' + ip else: return protocol + ': Can only curl PROTOCOL_TCP' return lambda: curl(f5) |
