<p><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652">View Change</a></p><p>8 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c">File utils/gtp_echo_responder.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@109">Patch Set #6, Line 109:</a> <code style="font-family:monospace,monospace">         "  -l --listen-addr Listend address for GTPCv1 and GTPCv2\n"</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">"Listen" (typo). ... or maybe "Address to listen on for ..."</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@128">Patch Set #6, Line 128:</a> <code style="font-family:monospace,monospace">     arg == end) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">if arg should not contain trailing characters after the bitmask, you should also add '|| *end', i.e. if the endptr has more characters after conversion</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@151">Patch Set #6, Line 151:</a> <code style="font-family:monospace,monospace">d</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">'-d' seems nonexistent</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@169">Patch Set #6, Line 169:</a> <code style="font-family:monospace,monospace">                     g_st->cfg.recovery_ctr = (uint8_t)atoi(optarg);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">break (or "/* fall thru */")</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@190">Patch Set #6, Line 190:</a> <code style="font-family:monospace,monospace"></code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(usually we'd not have a blank line here)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@225">Patch Set #6, Line 225:</a> <code style="font-family:monospace,monospace">                       strcpy(_rem_addr_str, "unknwown");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">typo "unknwown" x 3</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@248">Patch Set #6, Line 248:</a> <code style="font-family:monospace,monospace">             fprintf(stderr, "sendto() short write: %u vs exp %u\n", rc, buf_len);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">size_t should be indicated as %zu, the compiler should complain about this<br>... not sure about ssize_t, %zd??</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652/6/utils/gtp_echo_responder.c@281">Patch Set #6, Line 281:</a> <code style="font-family:monospace,monospace">  /* TS 29.274 sec 8.5 Recovery (Restart Counter) */</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(we usually add "3GPP" before "TS")</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652">change 25652</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ggsn/+/25652"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ggsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ibdd6d8f6920571db0c60cf8b3b25d541b15ad3f1 </div>
<div style="display:none"> Gerrit-Change-Number: 25652 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 04 Oct 2021 11:53:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>