]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rule_netlink.c
zebra: Fix late memset of pbr rule in rule_netlink
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 9 Apr 2019 14:35:11 +0000 (10:35 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 9 Apr 2019 14:35:11 +0000 (10:35 -0400)
commitcc42104c35610bba4c22f89b795aa506c2f28a91
tree2cc8da25ca09ac4c4d81a520e4000c0d6cb4052d
parent977e9f37914715390c6aefdc00cd8082e6f7f8b2
zebra: Fix late memset of pbr rule in rule_netlink

We were memsetting zebra_pbr_rule struct after
we had already put some information in it. Also updated
the init of the struct to use braces instead of a
memset.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rule_netlink.c