ranap_msg_factory: fix RAB IP addr byte order for use_x213_nsap==false
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 0292442..1305bc2 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -629,7 +629,7 @@
 	} else {
 		len = 4;
 		buf = CALLOC(len, sizeof(uint8_t));
-		*(uint32_t *)buf = ip;
+		*(uint32_t *)buf = ntohl(ip);
 	}
 	out->buf = buf;
 	out->size = len;