summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2019-03-08 15:27:17 +0300
committerDmitry Kozlov <xeb@mail.ru>2019-03-08 15:27:17 +0300
commit965380a641575d545087f456f3d45e73cae06417 (patch)
treef28dd12e982f80d88c353b27ebd72b7fdaa0894f
parentfbac1573d3def4eef27e55272125242e5a1711e1 (diff)
downloadaccel-ppp-965380a641575d545087f456f3d45e73cae06417.tar.gz
accel-ppp-965380a641575d545087f456f3d45e73cae06417.zip
ippool: always initialize mask = 0
-rw-r--r--accel-pppd/extra/ippool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/extra/ippool.c b/accel-pppd/extra/ippool.c
index 73ad398..844981c 100644
--- a/accel-pppd/extra/ippool.c
+++ b/accel-pppd/extra/ippool.c
@@ -354,6 +354,8 @@ again:
else
it->it.addr = 0;
+ it->it.mask = 0;
+
return &it->it;
} else if (p->next) {
p = p->next;