aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-24 19:42:11 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-25 03:42:42 +0000
commit11574208e7f11d76bb1dbe460577396b8c06e3fb (patch)
tree5a4a946164922b406a1fd8f81c1f56af91e87661 /sharkd.h
parent538b6fc206e202ea666444b77f98b4f19947f8ec (diff)
Clean up EVPN NLRIs dissection.
Do the NLRI length checks in the switch cases for each route type, and do them for *all* route types, rather than throwing a random check in for one particular route type. There is no need to fail up front for unknown route types; at least dissect the type and length, and fail in the switch statement. Dissect the route descriptor in each of the switch cases, after the length check, rather than doing it up front. Add a comment noting where the prefix route type comes from. Change-Id: Iae26ecd467d4b36dbcf52e7998bd2881405281aa Reviewed-on: https://code.wireshark.org/review/19774 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'sharkd.h')
0 files changed, 0 insertions, 0 deletions