summaryrefslogtreecommitdiff
path: root/src/net/packetinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/packetinfo.h')
-rw-r--r--src/net/packetinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/packetinfo.h b/src/net/packetinfo.h
index d1018b10f..cd16eb409 100644
--- a/src/net/packetinfo.h
+++ b/src/net/packetinfo.h
@@ -21,17 +21,21 @@
#ifndef NET_PACKETINFO_H
#define NET_PACKETINFO_H
+#include "net/packetfunction.h"
+
#include "localconsts.h"
struct PacketInfo final
{
PacketInfo() :
name(nullptr),
+ func(nullptr),
len(0)
{
}
const char *name;
+ PacketFuncPtr func;
int len;
};