diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-02-20 14:41:57 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-02-20 17:32:32 +0100 |
commit | 6c1b7a8c496573c0c57025b12a16af5fb64231c4 (patch) | |
tree | 4e5f9ef844bec5d1e2424aeedce31cdf853edca8 /pimd/pim_vxlan.c | |
parent | Merge pull request #5802 from ton31337/feature/aggregate-address_origin_override (diff) | |
download | frr-6c1b7a8c496573c0c57025b12a16af5fb64231c4.tar.xz frr-6c1b7a8c496573c0c57025b12a16af5fb64231c4.zip |
pimd: fix SA reports
Fix a couple of SA warnings introduced recently; replace some
'strcpy' calls.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'pimd/pim_vxlan.c')
-rw-r--r-- | pimd/pim_vxlan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c index 1de0dda9d..57b922a53 100644 --- a/pimd/pim_vxlan.c +++ b/pimd/pim_vxlan.c @@ -1099,9 +1099,9 @@ void pim_vxlan_add_term_dev(struct pim_instance *pim, if (PIM_DEBUG_VXLAN) zlog_debug("vxlan term oif cfg changed from %s to %s", - pim->vxlan.term_if_cfg ? - pim->vxlan.term_if_cfg->name : "-", - ifp->name); + pim->vxlan.term_if_cfg ? + pim->vxlan.term_if_cfg->name : "-", + ifp->name); pim->vxlan.term_if_cfg = ifp; @@ -1117,8 +1117,8 @@ void pim_vxlan_add_term_dev(struct pim_instance *pim, * vxlan termination device */ pim_if_create_pimreg(pim); - pim_ifp = pim_if_new(ifp, false /*igmp*/, true /*pim*/, - false /*pimreg*/, true /*vxlan_term*/); + (void)pim_if_new(ifp, false /*igmp*/, true /*pim*/, + false /*pimreg*/, true /*vxlan_term*/); } } |