summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/lsack.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-04-25 08:33:01 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-04-25 08:33:01 +0000
commit4de04b6968eec18bc037a37d3e808dddef1a5380 (patch)
tree540b794f2f36de74ee4a1b50bf5e27ebfb68fd79 /usr.sbin/ospfd/lsack.c
parent7a89d172fba6f6e473f9c74d299b100f3b5c45d4 (diff)
Use size_t for buffer lenght passed to send_ls_ack() plus an ARGSUSED.
Diffstat (limited to 'usr.sbin/ospfd/lsack.c')
-rw-r--r--usr.sbin/ospfd/lsack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c
index 2a71bb356e0..f2640d8d37a 100644
--- a/usr.sbin/ospfd/lsack.c
+++ b/usr.sbin/ospfd/lsack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsack.c,v 1.16 2006/03/13 09:36:06 claudio Exp $ */
+/* $OpenBSD: lsack.c,v 1.17 2006/04/25 08:33:00 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -35,7 +35,7 @@ void start_ls_ack_tx_timer_now(struct iface *);
/* link state acknowledgement packet handling */
int
-send_ls_ack(struct iface *iface, struct in_addr addr, void *data, int len)
+send_ls_ack(struct iface *iface, struct in_addr addr, void *data, size_t len)
{
struct sockaddr_in dst;
struct buf *buf;
@@ -206,6 +206,7 @@ ls_ack_list_empty(struct iface *iface)
}
/* timers */
+/* ARGSUSED */
void
ls_ack_tx_timer(int fd, short event, void *arg)
{