diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-02-20 08:41:57 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-02-20 11:32:32 -0500 |
| commit | 6c1b7a8c496573c0c57025b12a16af5fb64231c4 (patch) | |
| tree | 4e5f9ef844bec5d1e2424aeedce31cdf853edca8 /pimd/pim_vxlan.c | |
| parent | 1a21da6b01ff50ac99eb6d54e6e1b2877ce5d5f8 (diff) | |
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 1de0dda9da..57b922a531 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*/); } } |
