]> Cypherpunks.ru repositories - nncp.git/commitdiff
Magic for sync protocol must contain S
authorSergey Matveev <stargrave@stargrave.org>
Sun, 8 Jan 2017 18:29:07 +0000 (21:29 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 8 Jan 2017 18:29:26 +0000 (21:29 +0300)
src/cypherpunks.ru/nncp/sp.go

index 78a0d96d407a01255d22461542f8c6db3a119b49..0de65d5633cef375091d45a40da29b4a025841e7 100644 (file)
@@ -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