diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-01-15 12:36:42 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-01-15 12:36:42 +0000 |
commit | 5b3c09374d9d177f39604e370a448ce925336710 (patch) | |
tree | 608e129048d36b7dd098223df7c2ded198ca7162 /usr.sbin/eigrpd/rde_dual.c | |
parent | cdef30eca1ef68efc4b5bc6abcbf706b01f1ee94 (diff) |
Add support for manually clearing neighbors.
Diffstat (limited to 'usr.sbin/eigrpd/rde_dual.c')
-rw-r--r-- | usr.sbin/eigrpd/rde_dual.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/eigrpd/rde_dual.c b/usr.sbin/eigrpd/rde_dual.c index 02fdb555565..483986d3330 100644 --- a/usr.sbin/eigrpd/rde_dual.c +++ b/usr.sbin/eigrpd/rde_dual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_dual.c,v 1.13 2016/01/15 12:23:45 renato Exp $ */ +/* $OpenBSD: rde_dual.c,v 1.14 2016/01/15 12:36:41 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -1300,11 +1300,11 @@ rde_nbr_new(uint32_t peerid, struct rde_nbr *new) } void -rde_nbr_del(struct rde_nbr *nbr, int send_peerterm) +rde_nbr_del(struct rde_nbr *nbr, int peerterm) { struct reply_node *reply; - if (send_peerterm) + if (peerterm) rde_imsg_compose_eigrpe(IMSG_NEIGHBOR_DOWN, nbr->peerid, 0, NULL, 0); |