aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-03-04 16:58:28 +0100
committerKim Alvefur <zash@zash.se>2022-03-04 16:58:28 +0100
commit7579bee6bbc8d851687a98a0569f45126592d0b1 (patch)
tree41cb0fc054c28d23e2295aa6d2a2502017a618ec /net
parent1f257ecbb43ef08ae142f2b628819d327d066ee0 (diff)
downloadprosody-7579bee6bbc8d851687a98a0569f45126592d0b1.tar.gz
prosody-7579bee6bbc8d851687a98a0569f45126592d0b1.zip
net.stun: Use util.bitcompat to deal with bit module variances across Lua versions
Diffstat (limited to 'net')
-rw-r--r--net/stun.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/stun.lua b/net/stun.lua
index 688becc3..a718d4ef 100644
--- a/net/stun.lua
+++ b/net/stun.lua
@@ -3,6 +3,7 @@ local hashes = require "util.hashes";
local net = require "util.net";
local random = require "util.random";
local struct = require "util.struct";
+local bit32 = require"util.bitcompat";
local sxor = require"util.strbitop".sxor;
--- Public helpers