<h3>Contribution description</h3>
<p>The shell command offers no capability to parse the outgoing network interface in the gateway host, so link-local addresses are not usable with this example without this patch.</p>

<h3>Testing procedure</h3>
<p>Compile and run <code>examples/emcute_mqttsn</code> on <code>native</code> on <code>tap0</code>. In a second terminal sniff on <code>tap0</code> using <code>tshark</code>:</p>
<div class="highlight highlight-source-shell"><pre>tshark -i tap0</pre></div>
<p>In the RIOT application now type</p>
<pre><code>con fe80::1
</code></pre>
<p>and hit enter. Nothing will happen, but in the sniffer you will see neighbor solicitations being sent, probing for <code>fe80::1</code>, signifying, that the packet is indeed trying to be sent.</p>
<pre><code>[…]
    8 5.942474831 fe80::e0bc:7dff:fecb:f550 → ff02::1:ff00:1 ICMPv6 86 Neighbor Solicitation for fe80::1 from e2:bc:7d:cb:f5:50
    9 6.942905893 fe80::e0bc:7dff:fecb:f550 → ff02::1:ff00:1 ICMPv6 86 Neighbor Solicitation for fe80::1 from e2:bc:7d:cb:f5:50
   10 7.943482685 fe80::e0bc:7dff:fecb:f550 → ff02::1:ff00:1 ICMPv6 86 Neighbor Solicitation for fe80::1 from e2:bc:7d:cb:f5:50
</code></pre>
<p>Without this patch it won't work.</p>

<h3>Issues/PRs references</h3>
<p>See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="613502981" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/14035" data-hovercard-type="issue" data-hovercard-url="/RIOT-OS/RIOT/issues/14035/hovercard?comment_id=627363581&comment_type=issue_comment" href="https://github.com/RIOT-OS/RIOT/issues/14035#issuecomment-627363581">#14035 (comment)</a>.</p>


<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/14064'>https://github.com/RIOT-OS/RIOT/pull/14064</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>examples/emcute: set GNRC_NETIF_SINGLE</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/14064/files#diff-88266aed7ed9103375d2eddffeb1183d">examples/emcute_mqttsn/Makefile</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/14064.patch'>https://github.com/RIOT-OS/RIOT/pull/14064.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/14064.diff'>https://github.com/RIOT-OS/RIOT/pull/14064.diff</a></li>
</ul>

<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/14064">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYB2QZXLK3ZAWEUMCLLRRFLXXANCNFSM4M634XBQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYG55I6TWOV7GPWX2WDRRFLXXA5CNFSM4M634XB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JGCCSJQ.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/14064",
"url": "https://github.com/RIOT-OS/RIOT/pull/14064",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>