ranap_msg_factory: Use network byte order for 16 bit mode_versions field
Instead of 0x0001 the field was 0x0100
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index e5d742f..bdae92e 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -616,7 +616,7 @@
RANAP_UserPlaneInformation_t *upi = CALLOC(1, sizeof(*upi));
uint16_t *buf = CALLOC(1, sizeof(*buf));
- *buf = mode_versions;
+ *buf = ntohs(mode_versions);
upi->userPlaneMode = mode;
upi->uP_ModeVersions.buf = (uint8_t *) buf;