skip format for udp remote addr
This commit is contained in:
parent
dbaa11385a
commit
f0f5c5646a
|
@ -2149,9 +2149,7 @@ static int net_conn_get_udp(sigar_t *sigar,
|
||||||
sizeof(conn.local_address),
|
sizeof(conn.local_address),
|
||||||
udp->table[i].dwLocalAddr);
|
udp->table[i].dwLocalAddr);
|
||||||
|
|
||||||
ip_format(conn.remote_address,
|
SIGAR_SSTRCPY(conn.remote_address, "0.0.0.0");
|
||||||
sizeof(conn.remote_address),
|
|
||||||
0);
|
|
||||||
|
|
||||||
conn.send_queue = conn.receive_queue = SIGAR_FIELD_NOTIMPL;
|
conn.send_queue = conn.receive_queue = SIGAR_FIELD_NOTIMPL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue