Merge pull request #14499 from btcven/2020_07_10-gnrc_udp

tests/gnrc_udp/udp.c: fix netif_hdr typo
This commit is contained in:
benpicco 2020-07-10 23:52:24 +02:00 committed by GitHub
commit db9ed5a440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ static void send(char *addr_str, char *port_str, char *data_len_str, unsigned in
if (netif != NULL) { if (netif != NULL) {
gnrc_pktsnip_t *netif_hdr = gnrc_netif_hdr_build(NULL, 0, NULL, 0); gnrc_pktsnip_t *netif_hdr = gnrc_netif_hdr_build(NULL, 0, NULL, 0);
if(netif == NULL) { if (netif_hdr == NULL) {
puts("Error: unable to allocate NETIF header"); puts("Error: unable to allocate NETIF header");
gnrc_pktbuf_release(ip); gnrc_pktbuf_release(ip);
return; return;