diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-06-02 10:10:45 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-06-16 10:55:17 +0200 |
| commit | 961b8981976c797e23c307b9a82a83115d8bd61c (patch) | |
| tree | 0747e6fa3106919264c389c776edebf2385fe591 /tests/lib/test_xref.py | |
| parent | 7817cdeadc3ba539b24fc39d7ec31f10c9edce8d (diff) | |
bgpd: fix static analysis issue in subgroup_announce_check()
Remove the check about pi->peer value different from null.
Introducing this check introduces a SA warning on the value
of the from value (derived from pi->peer).
Actually, peer is set when bgp_path_info_make() call is
performed; peer is never null.
Fixes: 23bb4a9b5c64 ("bgpd: advertise mpls vpn routes with appropriate label")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'tests/lib/test_xref.py')
0 files changed, 0 insertions, 0 deletions
