]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: minor struct compare issues.
authorManoj Naragund <mnaragund@vmware.com>
Thu, 30 Sep 2021 16:15:18 +0000 (09:15 -0700)
committerManoj Naragund <mnaragund@vmware.com>
Thu, 30 Sep 2021 16:53:26 +0000 (09:53 -0700)
commit25dd89e398b41c50e0e928a01d5ce8376f60c220
tree955ca0c247a20220f114e54b948981f084bf8271
parent2e2d2be87f9de25aab5ac9556f7aef0f2fa79bc0
ospf6d: minor struct compare issues.

Problem Statement:
Multiple struct compare using memcmp, which might result in issue due to
structure padding/alignment.

Fix:
The code changes involve structure member by member comparison to
remove any issues related to padding/alignment.

Signed-off-by: Manoj Naragund <mnaragund@vmware.com>
(cherry picked from commit 67db821a1d6d68b19862d50b68ed19278c5f2422)
ospf6d/ospf6_abr.c
ospf6d/ospf6_abr.h
ospf6d/ospf6_asbr.c
ospf6d/ospf6_intra.c