diff options
author | Jo Rueschel <wireshark@rueschel.de> | 2015-11-16 16:59:53 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-16 21:59:25 +0000 |
commit | 92bb13a4d22a48c43aa5fa6910c68829edebfdd0 (patch) | |
tree | bb729775a60ebb9485491c06dcf0ee54c3bcd985 /epan/ipproto.h | |
parent | 4002f98413cd07abf53535e83beb63ccde939db7 (diff) | |
download | wireshark-92bb13a4d22a48c43aa5fa6910c68829edebfdd0.tar.gz wireshark-92bb13a4d22a48c43aa5fa6910c68829edebfdd0.tar.bz2 wireshark-92bb13a4d22a48c43aa5fa6910c68829edebfdd0.zip |
Export the value_string array ip_proto_val_ext for usage in plugins
Until now, it is not possible to use the IANA-assigned protocol values in a Wireshark plugin.
This commit exports them for use on Windows machines.
As discussed on http://seclists.org/wireshark/2015/Nov/88
Change-Id: I22adc33accf5d776bd3e5cc0899d3c5b9e9d531c
Reviewed-on: https://code.wireshark.org/review/11874
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, 1 insertions, 1 deletions
diff --git a/epan/ipproto.h b/epan/ipproto.h index 3477507ebb..ba15f9336d 100644 --- a/epan/ipproto.h +++ b/epan/ipproto.h @@ -191,7 +191,7 @@ #define IP_PROTO_AX4000 173 /* AX/4000 Testblock - non IANA */ #define IP_PROTO_NCS_HEARTBEAT 224 /* Novell NCS Heartbeat - http://support.novell.com/cgi-bin/search/searchtid.cgi?/10071158.htm */ -extern value_string_ext ipproto_val_ext; +WS_DLL_PUBLIC value_string_ext ipproto_val_ext; WS_DLL_PUBLIC const char *ipprotostr(const int proto); #endif /* ipproto.h */ |