summaryrefslogtreecommitdiffhomepage
path: root/src/router.c
diff options
context:
space:
mode:
authorsbyx <steven@midlink.org>2014-07-02 09:28:10 +0200
committersbyx <steven@midlink.org>2014-07-02 09:28:10 +0200
commit837da652ea37cd2f8bbfb6a353057eb53e9b75e0 (patch)
treeaa1e71d836bdb17de816d85ffc2c49ae2df9cf0f /src/router.c
parent4267915aef64aae345972c77148b11759a172b14 (diff)
parentdf3dac62087211a1d4b2827897d80270ba51e413 (diff)
Merge pull request #18 from dedeckeh/bugfixes
Improved compliance with RFC3315
Diffstat (limited to 'src/router.c')
-rw-r--r--src/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.c b/src/router.c
index 772d770..f8ba5d7 100644
--- a/src/router.c
+++ b/src/router.c
@@ -30,7 +30,7 @@ static void forward_router_solicitation(const struct interface *iface);
static void forward_router_advertisement(uint8_t *data, size_t len);
static void handle_icmpv6(void *addr, void *data, size_t len,
- struct interface *iface);
+ struct interface *iface, void *dest);
static void send_router_advert(struct uloop_timeout *event);
static void sigusr1_refresh(int signal);
@@ -170,7 +170,7 @@ static bool router_icmpv6_valid(struct sockaddr_in6 *source, uint8_t *data, size
// Event handler for incoming ICMPv6 packets
static void handle_icmpv6(void *addr, void *data, size_t len,
- struct interface *iface)
+ struct interface *iface, _unused void *dest)
{
struct icmp6_hdr *hdr = data;