Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to wireshark 4 #11

Open
wants to merge 2 commits into
base: david/encryption
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can use the `minecraft` filter to only display minecraft packets

```bash
apt install make gcc pkg-config wireshark-dev nodejs # Ubuntu
nix-shell -p gnumake wireshark.dev pkgconfig glib.dev nodejs-14_x # Nixos
nix-shell -p gnumake wireshark.dev pkg-config glib.dev nodejs_22 libgcrypt # Nixos
```

### Clone and compile
Expand Down
6 changes: 3 additions & 3 deletions packet-minecraft.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <config.h>
#include <ws_version.h>

#define WS_BUILD_DLL

Expand All @@ -15,8 +15,8 @@
#include <stdint.h>

WS_DLL_PUBLIC_DEF const gchar plugin_version[] = "0.0.0";
WS_DLL_PUBLIC_DEF const int plugin_want_major = VERSION_MAJOR;
WS_DLL_PUBLIC_DEF const int plugin_want_minor = VERSION_MINOR;
WS_DLL_PUBLIC_DEF const int plugin_want_major = WIRESHARK_VERSION_MAJOR;
WS_DLL_PUBLIC_DEF const int plugin_want_minor = WIRESHARK_VERSION_MINOR;

WS_DLL_PUBLIC void plugin_register(void);

Expand Down