<p>Max has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12654">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Log peer's port in accept callback<br><br>* log port from which we accept() the connection in addition to address<br>* use macro helper for logging<br><br>Change-Id: I186974dae1819af8c92f9ea9eeb966ec7c9c9f55<br>---<br>M src/input/ipa.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/54/12654/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/input/ipa.c b/src/input/ipa.c</span><br><span>index 9853ffa..e41ec42 100644</span><br><span>--- a/src/input/ipa.c</span><br><span>+++ b/src/input/ipa.c</span><br><span>@@ -266,8 +266,8 @@</span><br><span>                      link->addr = talloc_strdup(link, ipbuf);</span><br><span>  }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   LOGP(DLINP, LOGL_NOTICE, "accept()ed new link from %s to port %u\n",</span><br><span style="color: hsl(0, 100%, 40%);">-          inet_ntoa(sa.sin_addr), link->port);</span><br><span style="color: hsl(120, 100%, 40%);">+       LOGIPA(link, LOGL_NOTICE, "accept()ed new link from %s:%u\n",</span><br><span style="color: hsl(120, 100%, 40%);">+               inet_ntoa(sa.sin_addr), ntohs(sa.sin_port));</span><br><span> </span><br><span>     ret = link->accept_cb(link, fd);</span><br><span>  if (ret < 0) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12654">change 12654</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/12654"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-abis </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I186974dae1819af8c92f9ea9eeb966ec7c9c9f55 </div>
<div style="display:none"> Gerrit-Change-Number: 12654 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>