Skip to content
Snippets Groups Projects
Commit 4338236d authored by Jan Hák's avatar Jan Hák Committed by Daniel Salzman
Browse files

kdig: fix empty server in program arguments

parent 8a1476ec
Branches
Tags
No related merge requests found
Pipeline #92255 passed with stages
in 10 minutes and 9 seconds
......@@ -188,6 +188,7 @@ int net_init(const srv_info_t *local,
// Clean network structure.
memset(net, 0, sizeof(*net));
net->sockfd = -1;
// Get remote address list.
if (get_addr(remote, iptype, socktype, &net->remote_info) != 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment