summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/address.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2013-06-01 18:35:03 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2013-06-01 18:35:03 +0000
commit204316bee57f022dea637a9d94567f3c852d1131 (patch)
tree8d284d4c9cc54e5b19e12208df2eaead208df97a /usr.sbin/ldpd/address.c
parent12ce88afbc54312fc23d8fe50736b79d3ef0c947 (diff)
Drop support for passive interfaces.
Support for passive interfaces was inherited from ospfd but it doesn't make any sense at all for ldpd. Diff from Renato Westphal
Diffstat (limited to 'usr.sbin/ldpd/address.c')
-rw-r--r--usr.sbin/ldpd/address.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/ldpd/address.c b/usr.sbin/ldpd/address.c
index 0c456e91827..1ea0e129331 100644
--- a/usr.sbin/ldpd/address.c
+++ b/usr.sbin/ldpd/address.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: address.c,v 1.6 2010/11/04 09:52:16 claudio Exp $ */
+/* $OpenBSD: address.c,v 1.7 2013/06/01 18:35:02 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -48,9 +48,6 @@ send_address(struct nbr *nbr, struct iface *iface)
struct iface *niface;
u_int16_t size, iface_count = 0;
- if (nbr->iface->passive)
- return;
-
log_debug("send_address: neighbor ID %s", inet_ntoa(nbr->id));
if ((buf = ibuf_open(LDP_MAX_LEN)) == NULL)
@@ -176,9 +173,6 @@ send_address_withdraw(struct nbr *nbr, struct iface *iface)
struct ibuf *buf;
u_int16_t size;
- if (nbr->iface->passive)
- return;
-
log_debug("send_address_withdraw: neighbor ID %s", inet_ntoa(nbr->id));
if ((buf = ibuf_open(LDP_MAX_LEN)) == NULL)