aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala
diff options
context:
space:
mode:
authorfrosty <frostinator33@airmail.cc>2026-10-26 10:21:57 -0400
committerfrosty <frostinator33@airmail.cc>2026-10-26 10:21:57 -0400
commit74aecd8b0986d07b50b7ce310d64e645b8b54e38 (patch)
tree560e6434f183eb54cd779936f3a4c9575146a066 /xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala
parent3d7e90d401da02d430a87db0ec7e1db3a6f1a68f (diff)
parent4436001bb361ad4f9e4e05819214ecf0ea77c063 (diff)
Merge 'upstream/master'
Diffstat (limited to 'xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala')
-rw-r--r--xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala b/xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala
index 200cdfa9..b59c1b06 100644
--- a/xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala
+++ b/xmpp-vala/src/module/xep/0177_jingle_raw_udp.vala
@@ -13,6 +13,10 @@ namespace Xmpp.Xep.JingleRawUdp {
private GetLocalIpAddresses? get_local_ip_addresses_impl = null;
+ public Module.with_local_ip_address_handler(owned GetLocalIpAddresses get_local_ip_addresses) {
+ set_local_ip_address_handler((owned) get_local_ip_addresses);
+ }
+
public override void attach(XmppStream stream) {
stream.get_module(Jingle.Module.IDENTITY).register_transport(this);
stream.get_module(ServiceDiscovery.Module.IDENTITY).add_feature(stream, NS_URI);