]> git.proxmox.com Git - mirror_frr.git/commit
staticd: remove checks that are no longer necessary
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 10 Sep 2020 21:45:42 +0000 (18:45 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 11 Sep 2020 18:13:22 +0000 (15:13 -0300)
commit406537cb703c652ec275ae7e824efb2009634837
treee1303eaf582a319f3df5def04398b7748a6b5ddc
parenta77bd0f4e6b7d63e6f66288d7ea715ae8c55feee
staticd: remove checks that are no longer necessary

All call sites of static_route_leak() are passing a non-null pointer
to the 'vty' parameter, hence remove the 'vty' null checks that
are no longer necessary.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
staticd/static_vty.c