summaryrefslogtreecommitdiffstats
path: root/src/parpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parpd.c')
-rw-r--r--src/parpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parpd.c b/src/parpd.c
index cb2493b..5859017 100644
--- a/src/parpd.c
+++ b/src/parpd.c
@@ -391,7 +391,7 @@ proxy(rb_tree_t *ps, in_addr_t ip, const uint8_t **hw, size_t *hwlen)
(sizeof(struct arphdr) + (2 * sizeof(uint32_t)) + (2 * HWADDR_LEN))
/* Does what is says on the tin - sends an ARP message */
static ssize_t
-send_arp(const struct interface *ifp, int op, size_t hlen,
+send_arp(const struct interface *ifp, uint16_t op, size_t hlen,
const uint8_t *sha, in_addr_t sip, const uint8_t *tha, in_addr_t tip)
{
uint8_t arp_buffer[ARP_LEN];