diff options
Diffstat (limited to 'src/net/packetlimiter.h')
-rw-r--r-- | src/net/packetlimiter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/packetlimiter.h b/src/net/packetlimiter.h index f0d8a78df..d8d7d4ea6 100644 --- a/src/net/packetlimiter.h +++ b/src/net/packetlimiter.h @@ -21,6 +21,8 @@ #ifndef NET_PACKETLIMITER_H #define NET_PACKETLIMITER_H +#include "enums/net/packettype.h" + #include <string> #include "localconsts.h" @@ -31,9 +33,9 @@ namespace PacketLimiter void writePacketLimits(const std::string &packetLimitsName); - bool limitPackets(const int type) A_WARN_UNUSED; + bool limitPackets(const PacketTypeT type) A_WARN_UNUSED; - bool checkPackets(const int type) A_WARN_UNUSED; + bool checkPackets(const PacketTypeT type) A_WARN_UNUSED; } #endif // NET_PACKETLIMITER_H |