Browse Source

fix typos in code

Brenton Bostick 2 years ago
parent
commit
3b8c33d49a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      java/src/com/zerotier/sdk/NodeStatus.java
  2. 1 1
      node/Constants.hpp

+ 1 - 1
java/src/com/zerotier/sdk/NodeStatus.java

@@ -38,7 +38,7 @@ public final class NodeStatus {
 	/**
 	 * 40-bit ZeroTier address of this node
 	 */
-	public final long getAddres() {
+	public final long getAddress() {
 		return address;
 	}
 

+ 1 - 1
node/Constants.hpp

@@ -517,7 +517,7 @@
 #define ZT_ACK_CUTOFF_LIMIT 128
 #define ZT_ACK_DRAINAGE_DIVISOR (1000 / ZT_ACK_CUTOFF_LIMIT)
 
-#define ZT_BOND_DEFAULT_REFRCTORY_PERIOD 8000
+#define ZT_BOND_DEFAULT_REFRACTORY_PERIOD 8000
 #define ZT_BOND_MAX_REFRACTORY_PERIOD 600000
 
 /**