summaryrefslogtreecommitdiff
path: root/plainPacket.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-04-09 21:22:30 +0000
committerChristian Pointner <equinox@anytun.org>2008-04-09 21:22:30 +0000
commitacbead59d307a10952cee41792e9397a2334f0da (patch)
tree400c76c6a2f2999f1b23270882709affaf7fd13c /plainPacket.h
parentremoved old documentation (diff)
cipher added mux to senderid for crypto
fixed payload type with ipv6 fixed lua script options: device defaults to tun
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