diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2007-03-27 20:19:05 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2007-03-27 20:19:05 +0000 |
commit | d6b0538d65f4dbfbc55a3bbf7da5b8656ee99f9d (patch) | |
tree | 8f97edd91a87150f2053fc58de256ca5cd36044e | |
parent | 26617de26577b9f04bf3b20041ceaade2e5015d5 (diff) |
Remove unused parameter in nbr_new
-rw-r--r-- | usr.sbin/ripd/neighbor.c | 4 | ||||
-rw-r--r-- | usr.sbin/ripd/packet.c | 6 | ||||
-rw-r--r-- | usr.sbin/ripd/ripe.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/ripd/neighbor.c b/usr.sbin/ripd/neighbor.c index 0d8d262ecc8..9ceb8709eaf 100644 --- a/usr.sbin/ripd/neighbor.c +++ b/usr.sbin/ripd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.6 2007/01/23 21:10:10 michele Exp $ */ +/* $OpenBSD: neighbor.c,v 1.7 2007/03/27 20:19:04 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -169,7 +169,7 @@ nbr_init(u_int32_t hashsize) } struct nbr * -nbr_new(u_int32_t nbr_id, struct iface *iface, int self) +nbr_new(u_int32_t nbr_id, struct iface *iface) { struct nbr_head *head; struct nbr *nbr = NULL; diff --git a/usr.sbin/ripd/packet.c b/usr.sbin/ripd/packet.c index 6639b96a849..bfa3d9c49fd 100644 --- a/usr.sbin/ripd/packet.c +++ b/usr.sbin/ripd/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.5 2007/01/23 21:10:10 michele Exp $ */ +/* $OpenBSD: packet.c,v 1.6 2007/03/27 20:19:04 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -172,7 +172,7 @@ recv_packet(int fd, short event, void *bula) return; if (nbr == NULL) { - nbr = nbr_new(src.sin_addr.s_addr, iface, 0); + nbr = nbr_new(src.sin_addr.s_addr, iface); nbr->addr = src.sin_addr; } nbr->port = srcport; @@ -195,7 +195,7 @@ recv_packet(int fd, short event, void *bula) } if (nbr == NULL) { - nbr = nbr_new(src.sin_addr.s_addr, iface, 0); + nbr = nbr_new(src.sin_addr.s_addr, iface); if (nbr_failed != NULL) nbr_failed_delete(nbr_failed); nbr->addr = src.sin_addr; diff --git a/usr.sbin/ripd/ripe.h b/usr.sbin/ripd/ripe.h index acc3cd8b6a1..3c901901afe 100644 --- a/usr.sbin/ripd/ripe.h +++ b/usr.sbin/ripd/ripe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ripe.h,v 1.4 2007/01/23 21:10:10 michele Exp $ */ +/* $OpenBSD: ripe.h,v 1.5 2007/03/27 20:19:04 michele Exp $ */ /* * Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it> @@ -127,7 +127,7 @@ void md_list_clr(struct auth_md_head *); /* neighbor.c */ void nbr_init(u_int32_t); -struct nbr *nbr_new(u_int32_t, struct iface *, int); +struct nbr *nbr_new(u_int32_t, struct iface *); void nbr_act_del(struct nbr *); struct nbr *nbr_find_ip(struct iface *, u_int32_t); |