mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:02:58 +00:00
Merge pull request #4337 from donaldsharp/routemap_coverity
zebra: Make coverity SA happy with zebra_routemap.c
This commit is contained in:
commit
3acee034ed
@ -705,6 +705,9 @@ DEFPY (ip_protocol,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
assert(rmap);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -737,6 +740,8 @@ DEFPY (no_ip_protocol,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -781,6 +786,9 @@ DEFPY (ipv6_protocol,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(rmap);
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -813,6 +821,8 @@ DEFPY (no_ipv6_protocol,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -858,6 +868,9 @@ DEFPY (ip_protocol_nht_rmap,
|
||||
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
assert(rmap);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -890,6 +903,8 @@ DEFPY (no_ip_protocol_nht_rmap,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -935,6 +950,9 @@ DEFPY (ipv6_protocol_nht_rmap,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(rmap);
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
@ -967,6 +985,8 @@ DEFPY (no_ipv6_protocol_nht_rmap,
|
||||
{
|
||||
int ret, rtype;
|
||||
|
||||
assert(proto);
|
||||
|
||||
ZEBRA_DECLVAR_CONTEXT(vrf, zvrf);
|
||||
|
||||
if (!zvrf)
|
||||
|
Loading…
Reference in New Issue
Block a user