mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
r11502: make sure we always use the 7 chars for the unix socket name.
this is to test if that works on irix 6.4 where we can only use 16 chars for the sun_path
of the unix sockets.
the plan is to make multiple interfaces possible with socket wrapper,
and the format will change to ("%c%02X%04X", type, iface, port),
which is also 7 char to the file name
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
696fa87a21
commit
e60d491864
@@ -63,7 +63,7 @@
|
||||
|
||||
with this format we have 8 chars left for the directory name
|
||||
*/
|
||||
#define SOCKET_FORMAT "%u_%u"
|
||||
#define SOCKET_FORMAT "%u_%05u"
|
||||
|
||||
static struct sockaddr *sockaddr_dup(const void *data, socklen_t len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user