From 773dcae2f9f6f676a3b7f20813778d9b957f9c31 Mon Sep 17 00:00:00 2001 From: Ivan Delamer Date: Fri, 2 Mar 2012 09:35:42 -0700 Subject: [PATCH] Missing declarations in supporting IP_HDRINCL. --- src/core/ipv6/ip6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/ipv6/ip6.c b/src/core/ipv6/ip6.c index ef018888..fcae57c6 100644 --- a/src/core/ipv6/ip6.c +++ b/src/core/ipv6/ip6.c @@ -827,6 +827,7 @@ ip6_output(struct pbuf *p, ip6_addr_t *src, ip6_addr_t *dest, u8_t hl, u8_t tc, u8_t nexth) { struct netif *netif; + struct ip6_hdr *ip6hdr; ip6_addr_t src_addr, dest_addr; /* pbufs passed to IPv6 must have a ref-count of 1 as their payload pointer @@ -886,6 +887,8 @@ ip6_output_hinted(struct pbuf *p, ip6_addr_t *src, ip6_addr_t *dest, u8_t hl, u8_t tc, u8_t nexth, u8_t *addr_hint) { struct netif *netif; + struct ip6_hdr *ip6hdr; + ip6_addr_t src_addr, dest_addr; err_t err; /* pbufs passed to IP must have a ref-count of 1 as their payload pointer