]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: move tunnel-ip comparison into handler
authorTrey Aspelund <taspelund@nvidia.com>
Wed, 25 Jan 2023 18:25:20 +0000 (13:25 -0500)
committerTrey Aspelund <taspelund@nvidia.com>
Fri, 27 Jan 2023 16:12:14 +0000 (11:12 -0500)
commit4dabdde32a11d7dfcdc1af7a5add7e912f170685
treec49d499fc135a3b1831043b1348d086f3157353c
parent826c3f6db358e9bbc48848c5eadaab7916f5c3f9
bgpd: move tunnel-ip comparison into handler

Moves the old/new IP comparison into handle_tunnel_ip_change instead of
expecting the caller to do the check on their own.
Also changes handle_tunnel_ip_change to return void since it only ever
returned 0 in all cases.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
bgpd/bgp_evpn.c