From: David Lamparter Date: Tue, 3 Mar 2015 07:54:54 +0000 (+0100) Subject: bgpd, zebra: fix struct/pointer sizeof mixups X-Git-Tag: frr-2.0-rc1~599 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f2d193ab3282f3b54bd6fe855a0183d362c2746f;p=matthieu%2Ffrr.git bgpd, zebra: fix struct/pointer sizeof mixups Two places were taking sizeof(pointer) instead of the sizeof(struct), while performing operations on the struct. Both are initialisation functions; I guess we haven't seen fallout since they weren't critical. Fix anyway. [v2: fix mistake that actually broke bgpd RS workqueue init] Signed-off-by: David Lamparter (cherry picked from commit d43f8b39b075fe60e0c8fdb33b07b284d3fae503) ---