diff options
author | Javier Garcia <javier.garcia@voltanet.io> | 2021-03-20 22:21:09 +0100 |
---|---|---|
committer | Javier Garcia <javier.garcia@voltanet.io> | 2021-03-20 22:21:09 +0100 |
commit | 7ed8c4b1fd2cd46864271e44a9778caa31d367fd (patch) | |
tree | 3b11f0c2123b57fee1cc7cf9ef0a21268decf7fe /pathd | |
parent | Merge pull request #8232 from reubendowle/fixes/nhrp-ipsec-issues (diff) | |
download | frr-7ed8c4b1fd2cd46864271e44a9778caa31d367fd.tar.xz frr-7ed8c4b1fd2cd46864271e44a9778caa31d367fd.zip |
pceplib: Fixing coverity messages.
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd')
-rw-r--r-- | pathd/path_pcep_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_pcep_cli.c b/pathd/path_pcep_cli.c index 7bbed9464..e2b33b8ff 100644 --- a/pathd/path_pcep_cli.c +++ b/pathd/path_pcep_cli.c @@ -1046,7 +1046,7 @@ static int path_pcep_cli_pcc_pcc_peer(struct vty *vty, const char *peer_name, XMALLOC(MTYPE_PCEP, sizeof(struct pcc_opts)); memcpy(&pcc_opts_copy->addr, &pce_opts_cli->pce_opts.config_opts.source_ip, - sizeof(struct pcc_opts)); + sizeof(pcc_opts_copy->addr)); pcc_opts_copy->msd = pcc_msd_g; pcc_opts_copy->port = pce_opts_cli->pce_opts.config_opts.source_port; if (pcep_ctrl_update_pcc_options(pcep_g->fpt, pcc_opts_copy)) { |