diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-29 15:22:36 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-29 21:38:30 +0000 |
commit | 2932596b65c36a63e79ab85d3349d404a1e16b37 (patch) | |
tree | b9383de6e0560f6ebf5f73b97c41edf25da772ce /epan/ipproto.h | |
parent | e75f74add63243fcaf620e47ae232f26a5b6dd67 (diff) | |
download | wireshark-2932596b65c36a63e79ab85d3349d404a1e16b37.tar.gz wireshark-2932596b65c36a63e79ab85d3349d404a1e16b37.tar.bz2 wireshark-2932596b65c36a63e79ab85d3349d404a1e16b37.zip |
IPv6: Add ipv6extprotostr() to ipproto.h
Move ipv6_exthdr_check() to ipproto.c.
Seems a better fit, prevents future code duplication.
Change-Id: I84f247febd1499e334289e3057ec1d8ba32d5bcc
Reviewed-on: https://code.wireshark.org/review/12283
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ipproto.h')
-rw-r--r-- | epan/ipproto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/ipproto.h b/epan/ipproto.h index ba15f9336d..90b8c9efdb 100644 --- a/epan/ipproto.h +++ b/epan/ipproto.h @@ -194,6 +194,8 @@ WS_DLL_PUBLIC value_string_ext ipproto_val_ext; WS_DLL_PUBLIC const char *ipprotostr(const int proto); +WS_DLL_PUBLIC const char *ipv6extprotostr(int proto); + #endif /* ipproto.h */ /* |