]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zserv.c
zebra: fix uninitialized prefixes in the handling of FEC messages
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 20 Sep 2017 03:02:50 +0000 (00:02 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 9 Oct 2017 23:15:14 +0000 (20:15 -0300)
commitad4527eb61d1d5908fc9c62c5538df89b2df2f28
treec09811ac6e0d4d0a3b9b8d073b0f282516598a03
parent9a62e84b5b6379ff3419da8f52728b95f31bacf3
zebra: fix uninitialized prefixes in the handling of FEC messages

This was causing some weird prefixes to pop up in my log files. One
alternate solution would be to call apply_mask() on the prefix, but
memcpy() is faster and just enough in this case.

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