diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
commit | 9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch) | |
tree | bbe78c595bd8f42b76322df2a37cf81f60c08a6a /ospfd/ospf_interface.c | |
parent | *: add git-reindent-branch.py (diff) | |
download | frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.tar.xz frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.zip |
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276.
clang 5 is not widely available enough for people to indent with. This
is particularly problematic when rebasing/adjusting branches.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r-- | ospfd/ospf_interface.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c index b4624f400..4ea8ec26f 100644 --- a/ospfd/ospf_interface.c +++ b/ospfd/ospf_interface.c @@ -428,9 +428,8 @@ struct ospf_interface *ospf_if_lookup_recv_if(struct ospf *ospf, match = oi; else if (prefix_match(CONNECTED_PREFIX(oi->connected), (struct prefix *)&addr)) { - if ((match == NULL) - || (match->address->prefixlen - < oi->address->prefixlen)) + if ((match == NULL) || (match->address->prefixlen + < oi->address->prefixlen)) match = oi; } } |