summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/lsack.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-05-26 19:54:50 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-05-26 19:54:50 +0000
commit755230bde72fda8331ed54058957946ac2fe0f4c (patch)
treeac59b6364f31b70c49a66bc7933f4def9a6d3931 /usr.sbin/ospfd/lsack.c
parentf8009f6e463e355844b35ddf145d2428e98c4fbd (diff)
Simplify and cleanup passive interface handling.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/lsack.c')
-rw-r--r--usr.sbin/ospfd/lsack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c
index b4a752ed343..128fdbd0421 100644
--- a/usr.sbin/ospfd/lsack.c
+++ b/usr.sbin/ospfd/lsack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsack.c,v 1.9 2005/05/25 22:05:58 norby Exp $ */
+/* $OpenBSD: lsack.c,v 1.10 2005/05/26 19:54:49 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -44,9 +44,6 @@ send_ls_ack(struct iface *iface, struct in_addr addr, void *data, int len)
log_debug("send_ls_ack: interface %s addr %s",
iface->name, inet_ntoa(addr));
- if (iface->passive)
- return (0);
-
/* XXX READ_BUF_SIZE */
if ((buf = buf_dynamic(PKG_DEF_SIZE, READ_BUF_SIZE)) == NULL)
fatal("send_ls_ack");