summaryrefslogtreecommitdiff
path: root/java/src/com/zerotier
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-11-14 17:40:17 -0800
committerGrant Limberg <glimberg@gmail.com>2015-11-14 17:40:17 -0800
commit0508a41afddce1b81921a0eeb9e03f28d0f04742 (patch)
treee494be1b5331b2082ad110edd174630382e795c2 /java/src/com/zerotier
parent0d9f33dc4f14b7339d1893e79772a8e49b4821eb (diff)
downloadinfinitytier-0508a41afddce1b81921a0eeb9e03f28d0f04742.tar.gz
infinitytier-0508a41afddce1b81921a0eeb9e03f28d0f04742.zip
added ttl parameter to WirePacketSendFunction
Diffstat (limited to 'java/src/com/zerotier')
-rw-r--r--java/src/com/zerotier/sdk/PacketSender.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/zerotier/sdk/PacketSender.java b/java/src/com/zerotier/sdk/PacketSender.java
index ab31729b..22893ec7 100644
--- a/java/src/com/zerotier/sdk/PacketSender.java
+++ b/java/src/com/zerotier/sdk/PacketSender.java
@@ -45,5 +45,6 @@ public interface PacketSender {
public int onSendPacketRequested(
InetSocketAddress localAddr,
InetSocketAddress remoteAddr,
- byte[] packetData);
+ byte[] packetData,
+ int ttl);
}