diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-10 10:25:25 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-10 10:25:25 -0700 |
commit | 65cb239b78d3e75db565309b0196378e29a439d4 (patch) | |
tree | 64419fdbc811e78f629e8da2a34f5ecc950c36c4 /src/main/java/org/traccar/config/Keys.java | |
parent | 15ff944349b44ead4d711459d7d0e54838c7f30c (diff) | |
download | trackermap-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/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 7 |
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( |