]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_netlink.c
zebra/rt_netlink.c: Clean is_selfroute function
authorNaveen Naidu <naveennaidu479@gmail.com>
Wed, 11 Mar 2020 18:20:41 +0000 (23:50 +0530)
committerNaveen Naidu <naveennaidu479@gmail.com>
Wed, 11 Mar 2020 19:07:21 +0000 (00:37 +0530)
commit6a6d11a33bf6cadc00d394557f4d289129c64daa
treebb5dba6ff16393d476bfe4db1059750dbfef47b2
parent2ff6f38eaa6ec6bbc3c94950370ceee04023a318
zebra/rt_netlink.c: Clean is_selfroute function

The return type of is_selfroute function is changed from int to bool.
Also remove the redundant invoking of the is_selfroute function in the
calling function netlink_route_change_read_unicast

Fixes: https://github.com/FRRouting/frr/issues/5984
Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
zebra/rt_netlink.c