diff options
author | 2006-06-02 18:49:55 +0000 | |
---|---|---|
committer | 2006-06-02 18:49:55 +0000 | |
commit | 59eccb259416d5e501bed9200190871ff8e505e8 (patch) | |
tree | 2a43d8ffcf9cf62a33b69714f5f48969a8638df2 /usr.sbin/ospfd/lsupdate.c | |
parent | correct spelling of specified (diff) | |
download | wireguard-openbsd-59eccb259416d5e501bed9200190871ff8e505e8.tar.xz wireguard-openbsd-59eccb259416d5e501bed9200190871ff8e505e8.zip |
remove unused variable, found by lint.
Diffstat (limited to 'usr.sbin/ospfd/lsupdate.c')
-rw-r--r-- | usr.sbin/ospfd/lsupdate.c | 6 |
1 files changed, 3 insertions, 3 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; |