From e6749fc8a4287312270f8f09c182eb64fcd26e57 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Wed, 20 Dec 2023 15:17:18 -0600 Subject: [PATCH] Expose AbstractUdpListener.localAddress. --- src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java b/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java index 73349989..4166c06c 100644 --- a/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java +++ b/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java @@ -260,6 +260,11 @@ public void run() thread.start(); } + public TransportAddress getLocalAddress() + { + return localAddress; + } + /** * Triggers the termination of the threads of this instance. */