From 195be08c47edeaf28bf7c2371ccb4178bbeaae83 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 3 Mar 2013 18:41:36 +0100 Subject: Make 'peer limit 0' allow no connections --- src/fastd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fastd.h') 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 { -- cgit v1.2.3