]> git.proxmox.com Git - mirror_frr.git/commit
staticd: Don't register existing nexthop to zebra
authorXiao Liang <shaw.leon@gmail.com>
Mon, 27 Sep 2021 02:23:37 +0000 (10:23 +0800)
committerXiao Liang <shaw.leon@gmail.com>
Mon, 28 Feb 2022 10:08:49 +0000 (18:08 +0800)
commitf1d6b7e36e7e50c94ac180dcd594154b8c5812b4
tree7c3f1638a4cdf6141cf6f6bf347a47e9d4873460
parentd7da6520e96418b37878b90d6b7696595870110a
staticd: Don't register existing nexthop to zebra

Zebra sends a nexthop-update message on registeration, which will cause
existing routes to be reconfigured even no changes actually happened.
Don't register the nexthop again if it's already done.

Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
staticd/static_zebra.c