Message ID | 594c392cc60dc713fc6ea8d29ccf30913e8a9629.1399275196.git.popovich_sergei@mail.ru |
---|---|
State | Accepted |
Delegated to: | Jozsef Kadlecsik |
Headers | show |
On Mon, 5 May 2014, Sergey Popovich wrote: > We have that done for first and second elements when > parsing element string, do this for third element for > convenience. Patch is applied, thanks. Best regards, Jozsef - E-mail : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences H-1525 Budapest 114, POB. 49, Hungary -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/lib/parse.c b/lib/parse.c index 4db872e..405d6a2 100644 --- a/lib/parse.c +++ b/lib/parse.c @@ -1976,8 +1976,10 @@ ipset_parse_elem(struct ipset_session *session, D("parse elem part two: %s", a); parse_elem(session, type, IPSET_DIM_TWO, a); } - if (type->dimension > IPSET_DIM_TWO && b != NULL) + if (type->dimension > IPSET_DIM_TWO && b != NULL) { + D("parse elem part three: %s", b); parse_elem(session, type, IPSET_DIM_THREE, b); + } goto out;
We have that done for first and second elements when parsing element string, do this for third element for convenience. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ru> --- lib/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)