<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/21844">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">frame_relay: link_alloc: move log message to the end<br><br>The link->name is still not set resulting in logging a (null)<br><br>Change-Id: I67cd4bce8238340e6ecb8d04a9a39c8b8d7d63e7<br>---<br>M src/gb/frame_relay.c<br>1 file changed, 2 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/44/21844/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/frame_relay.c b/src/gb/frame_relay.c</span><br><span>index 0304882..3a51700 100644</span><br><span>--- a/src/gb/frame_relay.c</span><br><span>+++ b/src/gb/frame_relay.c</span><br><span>@@ -880,9 +880,6 @@</span><br><span>      struct osmo_fr_link *link = talloc_zero(net, struct osmo_fr_link);</span><br><span>   if (!link)</span><br><span>           return NULL;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-    LOGPFRL(link, LOGL_INFO, "Creating frame relay link with role %s\n", osmo_fr_role_str(role));</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>      link->role = role;</span><br><span>        link->net = net;</span><br><span>  link->name = talloc_strdup(link, name);</span><br><span>@@ -901,6 +898,8 @@</span><br><span>             break;</span><br><span>       }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ LOGPFRL(link, LOGL_INFO, "Creating frame relay link with role %s\n", osmo_fr_role_str(role));</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>    return link;</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/21844">change 21844</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/libosmocore/+/21844"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I67cd4bce8238340e6ecb8d04a9a39c8b8d7d63e7 </div>
<div style="display:none"> Gerrit-Change-Number: 21844 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>