mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
improved debugging of interface connections.
This commit is contained in:
parent
e3a61f7614
commit
082b517fc9
@ -187,7 +187,7 @@ int overlay_interface_init_socket(int interface,struct sockaddr_in src_addr,stru
|
||||
|
||||
I(fd)=socket(PF_INET,SOCK_DGRAM,0);
|
||||
if (I(fd)<0) {
|
||||
return WHY("Could not create UDP socket for interface");
|
||||
return WHYF("Could not create UDP socket for interface: %s",strerror(errno));
|
||||
} else
|
||||
WHYF("interface #%d fd=%d",interface,I(fd));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user