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:
commit
db9ed5a440
@ -142,7 +142,7 @@ static void send(char *addr_str, char *port_str, char *data_len_str, unsigned in
|
||||
if (netif != NULL) {
|
||||
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");
|
||||
gnrc_pktbuf_release(ip);
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user