diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-02-21 19:01:13 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-02-21 19:01:13 +0000 |
commit | 6517d448a8973e42c3d1905856b10283ef873c91 (patch) | |
tree | e3b8bea6aee1e0e47efd0fc7722b0c1c20023352 /usr.sbin/eigrpd/rde_dual.c | |
parent | 7f20d807da81b64747d4d2e6b69f197eb362c385 (diff) |
Move some functions around and rename a few variables and functions.
The sooner we do these changes the better. This rearrangement will make
the code easier to read.
Diffstat (limited to 'usr.sbin/eigrpd/rde_dual.c')
-rw-r--r-- | usr.sbin/eigrpd/rde_dual.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eigrpd/rde_dual.c b/usr.sbin/eigrpd/rde_dual.c index 9569b1fd663..92fb8eb5cfb 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.22 2016/02/21 18:56:49 renato Exp $ */ +/* $OpenBSD: rde_dual.c,v 1.23 2016/02/21 19:01:12 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -1277,7 +1277,7 @@ rde_nbr_new(uint32_t peerid, struct rde_nbr *new) nbr->peerid = peerid; nbr->ifaceid = new->ifaceid; nbr->addr = new->addr; - nbr->ei = eigrp_iface_find_id(nbr->ifaceid); + nbr->ei = eigrp_if_lookup_id(nbr->ifaceid); if (nbr->ei) nbr->eigrp = nbr->ei->eigrp; TAILQ_INIT(&nbr->rijk); |