summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_sr.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-23 12:31:25 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-23 12:31:25 +0200
commit064518517c57024e65e177ee79c0a98f9f28ef6e (patch)
treedcc1d14ad647a210ef2d93da4fe827d9337ada4b /ospfd/ospf_sr.c
parentMerge pull request #3209 from opensourcerouting/cli-fuzzer-fixes (diff)
parentripd: fix list compare order (diff)
downloadfrr-064518517c57024e65e177ee79c0a98f9f28ef6e.tar.xz
frr-064518517c57024e65e177ee79c0a98f9f28ef6e.zip
Merge branch 'pull/3197'
...with a nit fix Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospfd/ospf_sr.c')
-rw-r--r--ospfd/ospf_sr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c
index 3a21b723d..43842e414 100644
--- a/ospfd/ospf_sr.c
+++ b/ospfd/ospf_sr.c
@@ -94,7 +94,7 @@ static unsigned int sr_hash(void *p)
}
/* Compare 2 Router ID hash entries based on SR Node */
-static int sr_cmp(const void *p1, const void *p2)
+static bool sr_cmp(const void *p1, const void *p2)
{
const struct sr_node *srn = p1;
const struct in_addr *rid = p2;