diff options
Diffstat (limited to 'eigrpd/eigrp_interface.c')
-rw-r--r-- | eigrpd/eigrp_interface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eigrpd/eigrp_interface.c b/eigrpd/eigrp_interface.c index 2312cc6ed..7f312d980 100644 --- a/eigrpd/eigrp_interface.c +++ b/eigrpd/eigrp_interface.c @@ -552,8 +552,9 @@ struct eigrp_interface *eigrp_if_lookup_recv_if(struct eigrp *eigrp, if (prefix_match(CONNECTED_PREFIX(ei->connected), (struct prefix *)&addr)) { - if ((match == NULL) || (match->address->prefixlen - < ei->address->prefixlen)) + if ((match == NULL) + || (match->address->prefixlen + < ei->address->prefixlen)) match = ei; } } |