From 3bc1e2e8c3593d4ebdaaf9c1c386365ad0b8b4d8 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Sat, 26 Sep 2015 01:36:31 +0200 Subject: [PATCH] Onions are 80 bits --- protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols.go b/protocols.go index 96846c7..c233cef 100644 --- a/protocols.go +++ b/protocols.go @@ -47,7 +47,7 @@ var Protocols = []Protocol{ Protocol{P_IP6, 128, "ip6", CodeToVarint(P_IP6)}, // these require varint: Protocol{P_SCTP, 16, "sctp", CodeToVarint(P_SCTP)}, - Protocol{P_ONION, 10, "onion", CodeToVarint(P_ONION)}, + Protocol{P_ONION, 80, "onion", CodeToVarint(P_ONION)}, Protocol{P_UTP, 0, "utp", CodeToVarint(P_UTP)}, Protocol{P_UDT, 0, "udt", CodeToVarint(P_UDT)}, Protocol{P_HTTP, 0, "http", CodeToVarint(P_HTTP)},