]> git.proxmox.com Git - mirror_frr.git/commit
ospfd,eigrpd: don't take address of packed struct member
authorMark Stapp <mjs@voltanet.io>
Mon, 11 Nov 2019 17:22:38 +0000 (12:22 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 3 Dec 2019 21:25:36 +0000 (16:25 -0500)
commite48a264e5c598a63c794c4024e3d70013af9d798
tree87faf4ff6d0fb346bd13c21a1fa23f7465d81554
parent4093d1ede9a6ddaf14324e01ba114b731723c159
ospfd,eigrpd: don't take address of packed struct member

Use a local variable to avoid trying to take the address
of a packed struct member - an address from the ip header
in these cases.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
eigrpd/eigrp_packet.c
ospfd/ospf_neighbor.c