Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VPP-189 Fix another batch of coverity warnings
[vpp.git]
/
plugins
/
ioam-plugin
/
ioam
/
encap
/
ip6_ioam_pot.c
diff --git
a/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c
b/plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c
index
0a23945
..
ec85ea7
100644
(file)
--- a/
plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c
+++ b/
plugins/ioam-plugin/ioam/encap/ip6_ioam_pot.c
@@
-87,7
+87,7
@@
static u8 * format_ioam_pot (u8 * s, va_list * args)
}
s = format (s, "random = 0x%Lx, Cumulative = 0x%Lx, Index = 0x%x",
- random, cumulative, pot0
->reserved_profile_id
);
+ random, cumulative, pot0
? pot0->reserved_profile_id : ~0
);
return s;
}