Browse Source

Little comments and stuff

Adam Ierymenko 5 năm trước cách đây
mục cha
commit
2d862f1d32
3 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 1 3
      Makefile
  2. 1 1
      go/cmd/zerotier/cli/help.go
  3. 1 0
      node/Membership.cpp

+ 1 - 3
Makefile

@@ -1,5 +1,3 @@
-# Common makefile -- loads make rules for each platform
-
 BUILDDIR := build
 
 .PHONY: all
@@ -20,4 +18,4 @@ clean:
 	rm -rf ${BUILDDIR}
 
 distclean:
-	rm -rf ${BUILDDIR}
+	rm -rf ${BUILDDIR} cmake-build-*

+ 1 - 1
go/cmd/zerotier/cli/help.go

@@ -43,7 +43,7 @@ Commands:
   roots                                Show only root peers
   addroot <identity> [IP/port]         Add root with optional bootstrap IP
   removeroot <address|identity>        Remove root
-  join <network ID>                    Join a virtual network
+  join <network ID> [fingerprint]      Join a virtual network
   leave <network ID>                   Leave a virtual network
   networks                             List joined VL2 virtual networks
   network <network ID>                 Show verbose network info

+ 1 - 0
node/Membership.cpp

@@ -115,6 +115,7 @@ void Membership::pushCredentials(const RuntimeEnvironment *RR,void *tPtr,const i
 
 		if (outl > (int)sizeof(Protocol::Header)) {
 			outl = Protocol::compress(outp,outl);
+			// TODO
 		}
 	}