summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-12-15 20:39:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-12-15 20:39:34 +0000
commitdfda486178c65b634df8f910407037d8eb8df1a4 (patch)
tree51bf990a818f2f97ec43cf67679025a7eae947b0 /usr.sbin/ospfd
parent4d9b56fd4d30c347ed2deef4c3acb42ceb0b56db (diff)
No need to call the nbr_fsm for unexpected LS requests. The RFC tells to
just ignore thos packets. OK norby@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/lsreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/lsreq.c b/usr.sbin/ospfd/lsreq.c
index 759434f840d..86076f77364 100644
--- a/usr.sbin/ospfd/lsreq.c
+++ b/usr.sbin/ospfd/lsreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsreq.c,v 1.10 2005/05/26 20:05:29 norby Exp $ */
+/* $OpenBSD: lsreq.c,v 1.11 2005/12/15 20:39:33 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -103,7 +103,6 @@ recv_ls_req(struct nbr *nbr, char *buf, u_int16_t len)
log_debug("recv_ls_req: packet ignored in state %s, "
"neighbor ID %s", nbr_state_name(nbr->state),
inet_ntoa(nbr->id));
- nbr_fsm(nbr, NBR_EVT_ADJ_OK);
break;
case NBR_STA_XCHNG:
case NBR_STA_LOAD: