From 4a7cb415e9d95461398ec326139972fcc45fab70 Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Thu, 9 May 2019 13:44:11 +0200 Subject: [PATCH] Set default socket type to unix Signed-off-by: Jose Bollo --- src/socket.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/socket.c b/src/socket.c index 5dbfa9e..fc01b8f 100644 --- a/src/socket.c +++ b/src/socket.c @@ -73,6 +73,10 @@ struct entry * The known entries with the default one at the first place */ static struct entry entries[] = { + { + .prefix = "unix:", + .type = Type_Unix + }, { .prefix = "tcp:", .type = Type_Inet @@ -82,10 +86,6 @@ static struct entry entries[] = { .type = Type_Systemd, .noreuseaddr = 1, .nolisten = 1 - }, - { - .prefix = "unix:", - .type = Type_Unix } }; -- 2.16.6