]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-xfer/main.go
MTH
[nncp.git] / src / cmd / nncp-xfer / main.go
index ae47ec6a842687e9cfb20d733d77a27427acdb56..605144b300c47a1737abf6f79c4d66cbb65aa54b 100644 (file)
@@ -29,7 +29,7 @@ import (
        "path/filepath"
 
        "github.com/dustin/go-humanize"
-       "go.cypherpunks.ru/nncp/v6"
+       "go.cypherpunks.ru/nncp/v7"
 )
 
 func usage() {
@@ -218,7 +218,7 @@ func main() {
                                continue
                        }
                        pktEnc, pktEncRaw, err := ctx.HdrRead(fd)
-                       if err != nil || pktEnc.Magic != nncp.MagicNNCPEv4 {
+                       if err != nil || pktEnc.Magic != nncp.MagicNNCPEv5 {
                                ctx.LogD("xfer-rx-not-packet", les, func(les nncp.LEs) string {
                                        return logMsg(les) + ": is not a packet"
                                })