summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/hello.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-05-19 15:28:52 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-05-19 15:28:52 +0000
commiteb06e4d50e39427e547fcb24886604c7876e5cd4 (patch)
tree5d17d25a0ed94daf45d7fbf5f0eda0fecc7d18d2 /usr.sbin/ldpd/hello.c
parent158d178f03df6b6e0f7f96e4596904b0ab8274bb (diff)
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@
Diffstat (limited to 'usr.sbin/ldpd/hello.c')
-rw-r--r--usr.sbin/ldpd/hello.c4
1 files changed, 2 insertions, 2 deletions
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 <michele@openbsd.org>
@@ -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)