From: fendo Date: Wed, 22 May 2013 18:49:17 +0000 (+0200) Subject: Fix: loop parse multi_hostanme X-Git-Tag: 2.2.1-2sames3.9~1^2~1 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/fa1972a6459df3fccf67a6e64473afd501e8bd8a?ds=inline;hp=-c Fix: loop parse multi_hostanme --- fa1972a6459df3fccf67a6e64473afd501e8bd8a diff --git a/l2tpns.c b/l2tpns.c index 68817a2..c6fe521 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -5471,6 +5471,8 @@ static void update_config() config->nbmultihostname++; if (config->nbmultihostname >= MAX_NBHOSTNAME) break; } + + shost = n; } if (config->nbmultihostname >= 1)