diff --git a/src/main.go b/src/main.go index e38f808..3c3ac25 100644 --- a/src/main.go +++ b/src/main.go @@ -30,7 +30,7 @@ import ( ) var ( - VERSION string = "v2.1.3" + VERSION string = "v2.1.4" versionInformation string = fmt.Sprintf("ftu %s\n\nCopyright (C) 2021 Kasyanov Nikolay Alexeevich (Unbewohnte (https://unbewohnte.xyz/))\nThis program comes with ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to redistribute it under certain conditions; type \"ftu -l\" for details.\n", VERSION) diff --git a/src/node/node.go b/src/node/node.go index 90988b2..ae6360a 100644 --- a/src/node/node.go +++ b/src/node/node.go @@ -420,6 +420,11 @@ func (node *Node) Start() { panic(err) } + filesInfoDonePacket := protocol.Packet{ + Header: protocol.HeaderFilesInfoDone, + } + protocol.SendPacket(node.netInfo.Conn, filesInfoDonePacket) + if node.verboseOutput { fmt.Printf("\n[File] Sent filepacket for \"%s\"", fileToSend.Name) }