summaryrefslogtreecommitdiff
path: root/src/psyc
diff options
context:
space:
mode:
Diffstat (limited to 'src/psyc')
-rw-r--r--src/psyc/gnunet-service-psyc.c4
-rw-r--r--src/psyc/psyc.conf.in8
-rw-r--r--src/psyc/test_psyc.conf2
3 files changed, 9 insertions, 5 deletions
diff --git a/src/psyc/gnunet-service-psyc.c b/src/psyc/gnunet-service-psyc.c
index cef89b828..13f908b6c 100644
--- a/src/psyc/gnunet-service-psyc.c
+++ b/src/psyc/gnunet-service-psyc.c
@@ -327,7 +327,7 @@ struct Master
/**
* @see enum GNUNET_PSYC_Policy
*/
- uint32_t policy;
+ enum GNUNET_PSYC_Policy policy;
};
@@ -2062,4 +2062,4 @@ main (int argc, char *const *argv)
&run, NULL)) ? 0 : 1;
}
-/* end of gnunet-service-psycstore.c */
+/* end of gnunet-service-psyc.c */
diff --git a/src/psyc/psyc.conf.in b/src/psyc/psyc.conf.in
index 461552698..4a4a96954 100644
--- a/src/psyc/psyc.conf.in
+++ b/src/psyc/psyc.conf.in
@@ -1,8 +1,12 @@
[psyc]
AUTOSTART = @AUTOSTART@
BINARY = gnunet-service-psyc
+
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-psyc.sock
-UNIX_MATCH_UID = NO
+UNIX_MATCH_UID = YES
UNIX_MATCH_GID = YES
+
@UNIXONLY@PORT = 2115
-HOSTNAME = localhost \ No newline at end of file
+HOSTNAME = localhost
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
diff --git a/src/psyc/test_psyc.conf b/src/psyc/test_psyc.conf
index 70a408ae3..8eb0019a9 100644
--- a/src/psyc/test_psyc.conf
+++ b/src/psyc/test_psyc.conf
@@ -1,2 +1,2 @@
[arm]
-DEFAULTSERVICES = psyc psycstore multicast
+DEFAULTSERVICES = multicast psycstore psyc