diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-04-04 15:09:48 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-04-04 15:09:48 +0000 |
commit | 06d3ec3581eb4cb29ccd0923aae49c1f1268ea59 (patch) | |
tree | 4ab680a0006921c9735d12c87876e88383da479a /usr.sbin/ldpd/hello.c | |
parent | 7331cca069b783a108e1077c42835ea0f5eaed68 (diff) |
Remove unused parameter from adj_new().
The adjacency holdtime is set in recv_hello().
OK claudio@
Diffstat (limited to 'usr.sbin/ldpd/hello.c')
-rw-r--r-- | usr.sbin/ldpd/hello.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/hello.c b/usr.sbin/ldpd/hello.c index 9332aee667b..376f76f8d09 100644 --- a/usr.sbin/ldpd/hello.c +++ b/usr.sbin/ldpd/hello.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hello.c,v 1.24 2014/10/25 03:23:49 lteo Exp $ */ +/* $OpenBSD: hello.c,v 1.25 2015/04/04 15:09:47 renato Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -177,12 +177,12 @@ recv_hello(struct iface *iface, struct in_addr src, char *buf, u_int16_t len) if (!nbr) { /* create new adjacency and new neighbor */ nbr = nbr_new(lsr_id, transport_addr); - adj = adj_new(nbr, &source, holdtime, transport_addr); + adj = adj_new(nbr, &source, transport_addr); } else { adj = adj_find(nbr, &source); if (!adj) { /* create new adjacency for existing neighbor */ - adj = adj_new(nbr, &source, holdtime, transport_addr); + adj = adj_new(nbr, &source, transport_addr); if (nbr->addr.s_addr != transport_addr.s_addr) log_warnx("recv_hello: neighbor %s: multiple " |