summaryrefslogtreecommitdiff
path: root/plainPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'plainPacket.h')
-rw-r--r--plainPacket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plainPacket.h b/plainPacket.h
index 03ae507..5348fe0 100644
--- a/plainPacket.h
+++ b/plainPacket.h
@@ -43,7 +43,8 @@ class Cipher;
*/
#define PAYLOAD_TYPE_TAP 0x6558
-#define PAYLOAD_TYPE_TUN 0x0800
+#define PAYLOAD_TYPE_TUN 0x0000
+#define PAYLOAD_TYPE_TUN4 0x0800
#define PAYLOAD_TYPE_TUN6 0x86DD
class PlainPacket : public Buffer