diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-05 01:59:34 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-05 01:59:34 +0000 |
commit | 2a26a16179c6f1f78ed5298704d0ea56585df541 (patch) | |
tree | 69699760c61c0ed913bfb5330aa5412fa54e9905 /usr.sbin/eigrpd/rde.c | |
parent | 767311b3a231c0d330c10ec8eab112926394912a (diff) |
When the SIA state is declared for a given destination, reset the
adjacency with the unresponsive neighbor(s).
Diffstat (limited to 'usr.sbin/eigrpd/rde.c')
-rw-r--r-- | usr.sbin/eigrpd/rde.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/eigrpd/rde.c b/usr.sbin/eigrpd/rde.c index 1e142ab7165..704231af6fe 100644 --- a/usr.sbin/eigrpd/rde.c +++ b/usr.sbin/eigrpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.2 2015/10/04 23:00:10 renato Exp $ */ +/* $OpenBSD: rde.c,v 1.3 2015/10/05 01:59:33 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -241,7 +241,7 @@ rde_dispatch_imsg(int fd, short event, void *bula) rde_check_link_down_nbr(nbr); rde_flush_queries(); - rde_nbr_del(rde_nbr_find(imsg.hdr.peerid)); + rde_nbr_del(rde_nbr_find(imsg.hdr.peerid), 0); break; case IMSG_RECV_UPDATE_INIT: nbr = rde_nbr_find(imsg.hdr.peerid); @@ -473,9 +473,9 @@ rde_instance_del(struct eigrp *eigrp) /* clear nbrs */ RB_FOREACH_SAFE(nbr, rde_nbr_head, &rde_nbrs, safe) if (nbr->eigrp == eigrp) - rde_nbr_del(nbr); - rde_nbr_del(eigrp->rnbr_redist); - rde_nbr_del(eigrp->rnbr_summary); + rde_nbr_del(nbr, 0); + rde_nbr_del(eigrp->rnbr_redist, 0); + rde_nbr_del(eigrp->rnbr_summary, 0); free(eigrp); } |