]> git.puffer.fish Git - mirror/frr.git/commit
zebra: improve identification of loopback interfaces in the router-id code 3356/head
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 17 Nov 2018 23:33:37 +0000 (21:33 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 17 Nov 2018 23:33:37 +0000 (21:33 -0200)
commit106935f6719ff924bfd025ce47fa054e35b04335
tree79487dd64f3b586556afa36d9e789bca2b3fffa1
parentfef6daf4da425621c4c2e67d7579d962f64f43f7
zebra: improve identification of loopback interfaces in the router-id code

The if_is_loopback() function is the right abstraction for identifying
loopback interfaces. There should be no reason for not using it in the
router-id code.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/router-id.c