diff options
author | Marty Connor <mdc@etherboot.org> | 2006-09-27 05:57:06 +0000 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2006-09-27 05:57:06 +0000 |
commit | 6ac78f6aff85b2a41d1c98011c41f622d569076a (patch) | |
tree | 04afe77db724f594b006504ccddd2b6464fd2c4b /src/net/icmpv6.c | |
parent | 1da4faa8960f18f9a1c17a5b8f6227b2efd3f57f (diff) | |
download | ipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.tar.gz |
added stdio.h to includes for DBG compilation
Diffstat (limited to 'src/net/icmpv6.c')
-rw-r--r-- | src/net/icmpv6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c index 183fd06cb..c48bf127c 100644 --- a/src/net/icmpv6.c +++ b/src/net/icmpv6.c @@ -1,3 +1,4 @@ +#include <stdio.h> #include <stdint.h> #include <string.h> #include <byteswap.h> @@ -23,7 +24,7 @@ struct tcpip_protocol icmp6_protocol; * This function prepares a neighbour solicitation packet and sends it to the * network layer. */ -int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src, +int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unused, struct in6_addr *dest ) { union { struct sockaddr_in6 sin6; @@ -60,7 +61,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src, st_dest.sin6.sin6_addr.in6_u.u6_addr8[13] = 0xff; /* Send packet over IP6 */ - tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st ); + return ( tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st ) ); } /** |