[riot-notifications] [RIOT-OS/RIOT] gnrc_netif_hdr: add setter for netif (#10661)

Marian Buschsieweke notifications at github.com
Fri Mar 29 09:49:44 CET 2019

maribu commented on this pull request.

> @@ -295,16 +297,15 @@ static void _pinger(_ping_data_t *data)
     ipv6 = pkt->data;
     /* if data->hoplimit is unset (i.e. 0) gnrc_ipv6 will select hop limit */
     ipv6->hl = data->hoplimit;
-    if (data->iface > KERNEL_PID_UNDEF) {
+    if (data->netif != NULL) {
         gnrc_netif_hdr_t *netif;

`netif` is no longer used according to GCC

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190329/d10b862a/attachment.html>

More information about the notifications mailing list