diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-06-16 01:25:03 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-16 03:05:37 +0000 |
commit | b5a8c4f72970927eafad323a48b4a99386a72347 (patch) | |
tree | 11b59d166fd2f5df9cd6e317feb52b9723e8849a /wiretap | |
parent | 79aab9232bf41132268a2887240140ee5a59a683 (diff) | |
download | wireshark-b5a8c4f72970927eafad323a48b4a99386a72347.tar.gz |
randpktdump: fix a crash.
Randpktdump requires the init the wtap opttypes.
Fixed making the init function public and calling it.
Bug: 12539
Change-Id: I02585c41012deacff1526b51ed09ab555cbfc8ce
Reviewed-on: https://code.wireshark.org/review/15951
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/wtap_opttypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap_opttypes.h b/wiretap/wtap_opttypes.h index 145c9543e6..120e167c64 100644 --- a/wiretap/wtap_opttypes.h +++ b/wiretap/wtap_opttypes.h @@ -180,7 +180,7 @@ typedef struct wtap_optblock_reg { * initialized yet. Should handle "registration" when code is * refactored to do so. */ -void wtap_opttypes_initialize(void); +WS_DLL_PUBLIC void wtap_opttypes_initialize(void); /** Create an option block by type * |