Merge branch 'initippool_memset' into 'master'
initippool: fix initialization of ip_address_pool See merge request l2tpns/l2tpns!27
This commit is contained in:
commit
7514eecf68
1 changed files with 0 additions and 1 deletions
1
l2tpns.c
1
l2tpns.c
|
|
@ -4932,7 +4932,6 @@ static void initippool()
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char *p;
|
char *p;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
memset(ip_address_pool, 0, sizeof(ip_address_pool));
|
|
||||||
|
|
||||||
if (!(f = fopen(IPPOOLFILE, "r")))
|
if (!(f = fopen(IPPOOLFILE, "r")))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue