<p></p>
<p>Yes, it is via de make command, but using clang not gcc (it is a compile on macos/bsd).</p>
<p>Practically at that line you check if the address of a char[20] buffer inside a structure is null:</p>
<pre><code>struct lrkp_node_conf
{
    int start_port;
    int end_port;
    int current_port;
    char internal_ip[20];
    char external_ip[20];
};
</code></pre>
<p>It cannot be null, meaning that condition on <code>e->node->lrkp_n_c->internal_ip</code> is always true:</p>
<pre><code>if (e->node->lrkp_n_c->internal_ip && flags) {
</code></pre>
<p>Maybe you wanted to test if its content is 0 (all chars internal_ip[i] with i=0..19 are 0). Or just remove <code>e->node->lrkp_n_c->internal_ip</code> from condition.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2663#issuecomment-793820507">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZN3PDIFFQO5KFQY53TTCYIUHANCNFSM4Y3NUKEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIYOLID42VF4DP5YQLTCYIUHA5CNFSM4Y3NUKEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF5IL2WY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2663#issuecomment-793820507",
"url": "https://github.com/kamailio/kamailio/issues/2663#issuecomment-793820507",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>