summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-03 18:41:36 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-03 18:41:36 +0100
commit195be08c47edeaf28bf7c2371ccb4178bbeaae83 (patch)
treee8161fca4a814a49cda9efb6d937c5902f781081 /src/fastd.h
parentff78f87f9b2aae9a5e2e88612fb0c07061919d11 (diff)
downloadfastd-195be08c47edeaf28bf7c2371ccb4178bbeaae83.tar
fastd-195be08c47edeaf28bf7c2371ccb4178bbeaae83.zip
Make 'peer limit 0' allow no connections
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 703e463..fb7ca25 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -151,8 +151,8 @@ struct fastd_peer_group_config {
char *name;
fastd_string_stack_t *peer_dirs;
- /* contraints */
- unsigned max_connections;
+ /* constraints */
+ int max_connections;
};
struct fastd_peer_group {