mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 14:23:50 -07:00
Reduce the default communication timeout for local IPv6 address
This commit is contained in:
parent
08d55f331c
commit
d1f916ba25
1 changed files with 3 additions and 1 deletions
|
@ -682,7 +682,9 @@ int TestProxmark(pm3_device_t *dev) {
|
|||
int res;
|
||||
if (is_tcp_conn || is_udp_conn) {
|
||||
if ((strstr(g_conn.serial_port_name, "localhost") != NULL) ||
|
||||
(strstr(g_conn.serial_port_name, "127.0.0.1") != NULL)) {
|
||||
(strstr(g_conn.serial_port_name, "127.0.0.1") != NULL) ||
|
||||
(strstr(g_conn.serial_port_name, "[::1]") != NULL) ||
|
||||
(strstr(g_conn.serial_port_name, "p:::1") != NULL)) {
|
||||
res = uart_reconfigure_timeouts(UART_TCP_CLIENT_LOCAL_RX_TIMEOUT_MS);
|
||||
} else {
|
||||
res = uart_reconfigure_timeouts(UART_TCP_CLIENT_RX_TIMEOUT_MS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue