<p></p>
<p><b>@miri64</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16910#discussion_r717806267">pkg/tinydtls/contrib/sock_dtls.c</a>:</p>
<pre style='color:#555'>> @@ -813,7 +813,13 @@ static void _ep_to_session(const sock_udp_ep_t *ep, session_t *session)
     session->port = ep->port;
     session->size = sizeof(ipv6_addr_t) +       /* addr */
                     sizeof(unsigned short);     /* port */
-    session->ifindex = ep->netif;
+    if ((ep->addr.ipv6[0] == 0xfe) && (ep->addr.ipv6[0] == 0x80)) {
</pre>
<p>I wanted to prevent a dependency to the <code>ipv6_addr</code> module. But you are right, that one is an inline function ^^"</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/RIOT-OS/RIOT/pull/16910#discussion_r717806267">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYADXNN7DWRARCOYLUTUEH3ATANCNFSM5E5Y4XLA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABE7WYGMAN4NJPOMQDEGHQ3UEH3ATA5CNFSM5E5Y4XLKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFWSHUMI.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/RIOT-OS/RIOT/pull/16910#discussion_r717806267",
"url": "https://github.com/RIOT-OS/RIOT/pull/16910#discussion_r717806267",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>