aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/mfib
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-10-24 12:14:09 -0700
committerNeale Ranns <nranns@cisco.com>2018-10-25 14:30:49 +0000
commit0c0383df88836b5e072f63c3b3a8f5f6b24c094b (patch)
treecbe6f73e3de450b279d4c7b956771477e0570ff1 /src/vnet/mfib
parent2bfb9e15d8ed7d040de7e453d764a6eb79668f5f (diff)
Trivial: Cleanup missing va_ends.
Change-Id: Ie7827b6a31968a355687d27325c0f30cab1bc890 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/mfib')
-rw-r--r--src/vnet/mfib/mfib_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/mfib/mfib_test.c b/src/vnet/mfib/mfib_test.c
index 2a12a38ef80..fda02580bee 100644
--- a/src/vnet/mfib/mfib_test.c
+++ b/src/vnet/mfib/mfib_test.c
@@ -229,7 +229,6 @@ mfib_test_entry (fib_node_index_t fei,
va_list ap;
int res;
- va_start(ap, n_buckets);
res = 0;
mfe = mfib_entry_get(fei);
@@ -263,12 +262,13 @@ mfib_test_entry (fib_node_index_t fei,
format_mfib_prefix, &pfx,
format_dpo_type, tmp.dpoi_type);
+ va_start(ap, n_buckets);
res = mfib_test_validate_rep_v(rep, n_buckets, &ap);
+ va_end(ap);
dpo_reset(&tmp);
}
- va_end(ap);
return (res);
}