aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-10 10:25:25 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-10 10:25:25 -0700
commit65cb239b78d3e75db565309b0196378e29a439d4 (patch)
tree64419fdbc811e78f629e8da2a34f5ecc950c36c4 /src/main/java/org/traccar/config
parent15ff944349b44ead4d711459d7d0e54838c7f30c (diff)
downloadtrackermap-server-65cb239b78d3e75db565309b0196378e29a439d4.tar.gz
trackermap-server-65cb239b78d3e75db565309b0196378e29a439d4.tar.bz2
trackermap-server-65cb239b78d3e75db565309b0196378e29a439d4.zip
Specify multicast interface
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 8e11b4013..6f19ee863 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1445,6 +1445,13 @@ public final class Keys {
"time,position,speed,course,accuracy,result");
/**
+ * Multicast interface. It can be either an IP address or an interface name.
+ */
+ public static final ConfigKey<String> BROADCAST_INTERFACE = new StringConfigKey(
+ "broadcast.interface",
+ List.of(KeyType.CONFIG));
+
+ /**
* Multicast address for broadcasting synchronization events.
*/
public static final ConfigKey<String> BROADCAST_ADDRESS = new StringConfigKey(