From e9bcbe1545e115dd1f099c3d56b315b86d09083e Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 20 Dec 2017 17:01:05 +0100 Subject: cosmetic: use macro for gtphub plane iteration Change-Id: If82fcd9f6509da60e6f0d916fe107de1b38bfd18 --- src/gprs/gtphub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gprs/gtphub.c b/src/gprs/gtphub.c index 5e962f292..76eebb1bc 100644 --- a/src/gprs/gtphub.c +++ b/src/gprs/gtphub.c @@ -1517,7 +1517,7 @@ static int gtphub_handle_create_pdp_ctx(struct gtphub *hub, int ie_mandatory = (p->type == GTP_CREATE_PDP_REQ); unsigned int side_idx = p->side_idx; - for (plane_idx = 0; plane_idx < 2; plane_idx++) { + for_each_plane(plane_idx) { int rc; struct gsn_addr use_addr; uint16_t use_port; -- cgit v1.2.3