diff options
Diffstat (limited to 'src/messages.h')
-rw-r--r-- | src/messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h index acf248c..19488a6 100644 --- a/src/messages.h +++ b/src/messages.h @@ -46,7 +46,7 @@ enum limits { REKEY_AFTER_TIME = 120 * HZ, REJECT_AFTER_TIME = 180 * HZ, INITIATIONS_PER_SECOND = HZ / 50, - MAX_PEERS_PER_DEVICE = 1 << 20, + MAX_PEERS_PER_DEVICE = 1U << 20, KEEPALIVE_TIMEOUT = 10 * HZ, MAX_TIMER_HANDSHAKES = (90 * HZ) / REKEY_TIMEOUT, MAX_QUEUED_INCOMING_HANDSHAKES = 4096, /* TODO: replace this with DQL */ |