From c25de8f317bd7ba32a269670373c4d7d33b7c755 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Wed, 21 Sep 2016 12:37:31 +0200 Subject: [PATCH] Update comment in MDNS and pbuf.c --- src/apps/mdns/mdns.c | 2 +- src/core/pbuf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/mdns/mdns.c b/src/apps/mdns/mdns.c index 5bf15d8c..5da37bcf 100644 --- a/src/apps/mdns/mdns.c +++ b/src/apps/mdns/mdns.c @@ -14,7 +14,7 @@ * ------------------------- * * - Probing/conflict resolution - * - Sending goodbye messages (zero ttl) + * - Sending goodbye messages (zero ttl) - shutdown, DHCP lease about to expire, DHCP turned off... * - Checking that source address of unicast requests are on the same network * - Limiting multicast responses to 1 per second per resource record * - Fragmenting replies if required diff --git a/src/core/pbuf.c b/src/core/pbuf.c index db017fa4..a145dffc 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -59,7 +59,7 @@ void eth_rx_irq() struct pbuf* p = pbuf_alloced_custom(PBUF_RAW, dma_desc->rx_length, PBUF_REF, - &my_pbuf.p, + &my_pbuf->p, dma_desc->rx_data, dma_desc->max_buffer_size);