[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [Patch] ethip6.c
From: |
Gisle Vanem |
Subject: |
[lwip-devel] [Patch] ethip6.c |
Date: |
Sat, 25 Feb 2012 00:42:47 +0100 |
IMHO, the last arg to ethip6_send() should be a 'const':
--- src\core\ipv6\ethip6.c Mon Oct 24 13:34:20 2011
+++ Git-latest\src\core\ipv6\ethip6.c Sun Nov 27 23:00:13 2011
@@ -100,7 +100,7 @@
* @return ERR_OK if the packet was sent, any other err_t on failure
*/
static err_t
-ethip6_send(struct netif *netif, struct pbuf *p, struct eth_addr *src, struct
eth_addr *dst)
+ethip6_send(struct netif *netif, struct pbuf *p, const struct eth_addr *src,
const struct eth_addr *dst)
{
struct eth_hdr *ethhdr = (struct eth_hdr *)p->payload;
-gv
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [Patch] ethip6.c,
Gisle Vanem <=