Skip to content

Commit

Permalink
aredn: bugfix max tunnel limited to 9 instead of 10
Browse files Browse the repository at this point in the history
fixes #564
  • Loading branch information
ae6xe committed Sep 8, 2020
1 parent ad578d8 commit f4a1e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/etc/init.d/vtundsrv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ allowed_client_config() {
local new_file="$2"
local enabled node pwd netip clientip serverip persist compress keepalive proto

if [ $TUNNUM -lt $MAXTUNNUM ]
if [ $TUNNUM -le $MAXTUNNUM ]
then
config_get_bool enabled "$cfg" enabled
config_get node "$cfg" node
Expand Down

0 comments on commit f4a1e73

Please sign in to comment.