summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-06-02 18:49:56 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-06-02 18:49:56 +0000
commit9373d429d6e9c021065787dd19f0db324b424b54 (patch)
tree8bb0095dab47a50a815738761b83b0f93e235ae2 /usr.sbin/ospfd
parent1761a44ebf4f04263ebf33fa4c4872570db9474c (diff)
remove unused variable, found by lint.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/lsupdate.c6
-rw-r--r--usr.sbin/ospfd/ospfe.c6
-rw-r--r--usr.sbin/ospfd/ospfe.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c
index 94545230e15..45ffe2462de 100644
--- a/usr.sbin/ospfd/lsupdate.c
+++ b/usr.sbin/ospfd/lsupdate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsupdate.c,v 1.31 2006/05/29 16:49:40 norby Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.32 2006/06/02 18:49:55 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -45,7 +45,7 @@ void ls_retrans_list_remove(struct nbr *, struct lsa_entry *);
/* link state update packet handling */
int
lsa_flood(struct iface *iface, struct nbr *originator, struct lsa_hdr *lsa_hdr,
- void *data, u_int16_t len)
+ void *data)
{
struct nbr *nbr;
struct lsa_entry *le = NULL;
@@ -451,7 +451,7 @@ ls_retrans_timer(int fd, short event, void *bula)
* flood by rerunning the lsa_flood.
*/
lsa_flood(nbr->iface, nbr, &le->le_ref->hdr,
- le->le_ref->data, le->le_ref->len);
+ le->le_ref->data);
ls_retrans_list_free(nbr, le);
/* ls_retrans_list_free retriggers the timer */
return;
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 06ab5ee5b0c..5d6bc467c10 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.46 2006/05/30 22:12:52 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.47 2006/06/02 18:49:55 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -440,7 +440,7 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
LIST_FOREACH(iface, &area->iface_list,
entry) {
noack += lsa_flood(iface, nbr,
- &lsa_hdr, imsg.data, l);
+ &lsa_hdr, imsg.data);
}
}
} else {
@@ -451,7 +451,7 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
area = nbr->iface->area;
LIST_FOREACH(iface, &area->iface_list, entry) {
noack += lsa_flood(iface, nbr,
- &lsa_hdr, imsg.data, l);
+ &lsa_hdr, imsg.data);
}
/* XXX virtual links */
}
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index aedffc91470..2f2e6282afc 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.30 2006/04/25 08:33:00 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.31 2006/06/02 18:49:55 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -178,7 +178,7 @@ void stop_ls_req_tx_timer(struct nbr *);
/* lsupdate.c */
int lsa_flood(struct iface *, struct nbr *, struct lsa_hdr *,
- void *, u_int16_t);
+ void *);
void recv_ls_update(struct nbr *, char *, u_int16_t);
void ls_retrans_list_add(struct nbr *, struct lsa_hdr *,