Commit 5ed958c1 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek Committed by Matthieu Boutier

Fix kinky formatting of prefix comparisons.

parent 5bf9d524
......@@ -419,8 +419,7 @@ find_min_iroute(const unsigned char *dst_prefix, unsigned char dst_plen,
(prefix_cmp(result->src->src_prefix,
result->src->src_plen,
routes[i]->src->src_prefix,
routes[i]->src->src_plen)
== PST_MORE_SPECIFIC))
routes[i]->src->src_plen) == PST_MORE_SPECIFIC))
continue;
result = routes[i];
......@@ -444,8 +443,7 @@ find_min_iroute(const unsigned char *dst_prefix, unsigned char dst_plen,
(prefix_cmp(result->src->prefix,
result->src->plen,
routes[i]->src->prefix,
routes[i]->src->plen)
== PST_MORE_SPECIFIC))
routes[i]->src->plen) == PST_MORE_SPECIFIC))
continue;
result = routes[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment