mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-20 17:33:08 +00:00
fixed type in client socket name.
This commit is contained in:
parent
29b8454a94
commit
c894d51c24
@ -1023,7 +1023,7 @@ int overlay_mdp_client_init()
|
||||
/* We must bind to a temporary file name */
|
||||
struct sockaddr_un name;
|
||||
name.sun_family = AF_UNIX;
|
||||
if (!FORM_SERVAL_INSTANCE_PATH(name.sun_path, "mdb-client.socket"))
|
||||
if (!FORM_SERVAL_INSTANCE_PATH(name.sun_path, "mdp-client.socket"))
|
||||
return WHY("Could not form MDP client socket name");
|
||||
unlink(name.sun_path);
|
||||
int len = 1 + strlen(name.sun_path) + sizeof(name.sun_family) + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user