From: Sergey Matveev Date: Sun, 8 Jan 2017 18:29:07 +0000 (+0300) Subject: Magic for sync protocol must contain S X-Git-Tag: 0.1~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f041945ed0bbaebb0f2f5399fbf88bbf2e3285bb;p=nncp.git Magic for sync protocol must contain S --- diff --git a/src/cypherpunks.ru/nncp/sp.go b/src/cypherpunks.ru/nncp/sp.go index 78a0d96..0de65d5 100644 --- a/src/cypherpunks.ru/nncp/sp.go +++ b/src/cypherpunks.ru/nncp/sp.go @@ -42,7 +42,7 @@ const ( ) var ( - MagicNNCPLv1 [8]byte = [8]byte{'N', 'N', 'C', 'P', 'L', 1, 0, 0} + MagicNNCPLv1 [8]byte = [8]byte{'N', 'N', 'C', 'P', 'S', 1, 0, 0} SPHeadOverhead int SPInfoOverhead int