mirror of git://git.sysmocom.de/ofono
ppp: Make iterators work all the time
This commit is contained in:
parent
c5590d114e
commit
9d118c4666
|
@ -239,7 +239,7 @@ gboolean ppp_option_iter_next(struct ppp_option_iter *iter)
|
||||||
iter->len = cur[1] - 2;
|
iter->len = cur[1] - 2;
|
||||||
iter->option_data = cur + 2;
|
iter->option_data = cur + 2;
|
||||||
|
|
||||||
iter->pdata += cur[1];
|
iter->pos += cur[1];
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue