diff options
author | sbyx <steven@midlink.org> | 2014-07-02 09:28:10 +0200 |
---|---|---|
committer | sbyx <steven@midlink.org> | 2014-07-02 09:28:10 +0200 |
commit | 837da652ea37cd2f8bbfb6a353057eb53e9b75e0 (patch) | |
tree | aa1e71d836bdb17de816d85ffc2c49ae2df9cf0f /src/dhcpv4.c | |
parent | 4267915aef64aae345972c77148b11759a172b14 (diff) | |
parent | df3dac62087211a1d4b2827897d80270ba51e413 (diff) |
Merge pull request #18 from dedeckeh/bugfixes
Improved compliance with RFC3315
Diffstat (limited to 'src/dhcpv4.c')
-rw-r--r-- | src/dhcpv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dhcpv4.c b/src/dhcpv4.c index b8d64ce..9746aa2 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -34,7 +34,7 @@ static void handle_dhcpv4(void *addr, void *data, size_t len, - struct interface *iface); + struct interface *iface, void *dest_addr); static struct dhcpv4_assignment* dhcpv4_lease(struct interface *iface, enum dhcpv4_msg msg, const uint8_t *mac, struct in_addr reqaddr, const char *hostname); @@ -225,7 +225,7 @@ static void dhcpv4_put(struct dhcpv4_message *msg, uint8_t **cookie, // Simple DHCPv6-server for information requests static void handle_dhcpv4(void *addr, void *data, size_t len, - struct interface *iface) + struct interface *iface, _unused void *dest_addr) { if (!iface->dhcpv4) return; |