<p>After upgrading to 5.0.0, I've found that using an IPv6 range such as</p>
<pre><code>is_in_subnet("$si", "2001:db8::/32"))
</code></pre>
<p>no longer works.  In fact, the script just terminates without error or response:</p>
<pre><code>ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1150 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1148 a=25 n=is_method
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1160 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1150 a=41 n=isflagset
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1151 a=25 n=setbflag
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1164 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1160 a=26 n=is_in_subnet
DEBUG: <core> [core/receive.c:275]: receive_msg(): request-route executed in: 1240 usec
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list 0x7f5860b8e778
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil)
DEBUG: <core> [core/receive.c:368]: receive_msg(): cleaning up
</code></pre>
<p>If I remove the IPv6 range from the <code>is_in_subnet</code> function, things work normally.</p>
<p>Prior to today's upgrade, I was using 4.4.5 with updates from the 4.4 branch applied to the build (up to an including <a href="https://github.com/kamailio/kamailio/commit/4180f5bf64b6b4338f99ba0eb7d2146ef86c088e" class="commit-link"><tt>4180f5b</tt></a>).</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/1018">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZWmC3mOFXV7Mrg3oI-U_SHbAub--ks5rig5ggaJpZM4MTRdG">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfUR_6_sbcyggVEd-bLpd1HmhxGVks5rig5ggaJpZM4MTRdG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1018"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"ipops is_in_subnet failure with IPv6 after upgrade to 5.0.0 (#1018)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1018"}}}</script>