]> The Tcpdump Group git mirrors - tcpdump/commit
Make 1-element arrays for fields that may repeat.
authorGuy Harris <[email protected]>
Sat, 23 Dec 2017 17:20:10 +0000 (09:20 -0800)
committerGuy Harris <[email protected]>
Sat, 23 Dec 2017 17:20:10 +0000 (09:20 -0800)
commit96afbce6fc40e89e4f215db5838ae00979185e11
treec49ac504a636ac7ff62bd8ce7321d460994dd195
parent21aff56b3956bb0d09632cdaf625033f70a1a445
Make 1-element arrays for fields that may repeat.

For various opaque LSAs, not only is the value of the TLV a "may
repeat", the TLVs *themselves* may repeat.

Also, pass a pointer to the TLV to ospf_print_grace_lsa() and
ospf_print_te_lsa(), rather than a pointer to the type field, as they
dissect a sequence of TLVs.

Hopefully, that will address Coverity CID 14269161426917, and 1426920.
ospf.h
print-ospf.c