Skip to content

Commit

Permalink
Fixup Readme for nixos
Browse files Browse the repository at this point in the history
Signed-off-by: C0D3 M4513R <[email protected]>
  • Loading branch information
C0D3-M4513R committed Jul 15, 2024
1 parent 54a5c35 commit eef01f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit eef01f1

Please sign in to comment.