From eb06e4d50e39427e547fcb24886604c7876e5cd4 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 19 May 2010 15:28:52 +0000 Subject: Remove yet another ospf leftover that is not needed here. This time neighbor self and all the madness surrounding this amazing concept. LDP is not self aware so there is no need for this. OK michele@ --- usr.sbin/ldpd/hello.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ldpd/hello.c') diff --git a/usr.sbin/ldpd/hello.c b/usr.sbin/ldpd/hello.c index 223c50a08cf..4712a9e782f 100644 --- a/usr.sbin/ldpd/hello.c +++ b/usr.sbin/ldpd/hello.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hello.c,v 1.4 2010/02/16 21:35:50 michele Exp $ */ +/* $OpenBSD: hello.c,v 1.5 2010/05/19 15:28:51 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto @@ -116,7 +116,7 @@ recv_hello(struct iface *iface, struct in_addr src, char *buf, u_int16_t len) nbr = nbr_find_ldpid(iface, ldp->lsr_id, ldp->lspace_id); if (!nbr) { - nbr = nbr_new(ldp->lsr_id, ldp->lspace_id, iface, 0); + nbr = nbr_new(ldp->lsr_id, ldp->lspace_id, iface); /* set neighbor parameters */ if (address.s_addr == INADDR_ANY) -- cgit v1.2.3