This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/22760 ) Change subject: oml: cosmetic code style changes in rx_oml_ipa_rsl_connect() ...................................................................... oml: cosmetic code style changes in rx_oml_ipa_rsl_connect() Change-Id: I2841e15865596bbb24cfe1f27691404514d3b6f0 --- M src/common/oml.c 1 file changed, 3 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/60/22760/1 diff --git a/src/common/oml.c b/src/common/oml.c index 02b1770..ce76064 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -1391,15 +1391,12 @@ uint8_t stream_id = 0; - if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_DST_IP, 4)) { + if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_DST_IP, 4)) ip = ntohl(tlvp_val32_unal(tp, NM_ATT_IPACC_DST_IP)); - } - if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_DST_IP_PORT, 2)) { + if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_DST_IP_PORT, 2)) port = ntohs(tlvp_val16_unal(tp, NM_ATT_IPACC_DST_IP_PORT)); - } - if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_STREAM_ID, 1)) { + if (TLVP_PRES_LEN(tp, NM_ATT_IPACC_STREAM_ID, 1)) stream_id = *TLVP_VAL(tp, NM_ATT_IPACC_STREAM_ID); - } in.s_addr = htonl(ip); LOGP(DOML, LOGL_INFO, "%s: Rx IPA RSL CONNECT IP=%s PORT=%u STREAM=0x%02x\n", -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/22760 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I2841e15865596bbb24cfe1f27691404514d3b6f0 Gerrit-Change-Number: 22760 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210206/5d3f6018/attachment.htm>