Software /
code /
prosody
Diff
net/stun.lua @ 12360:0801db678f5e
net.stun: Use util.bitcompat to deal with bit module variances across Lua versions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Mar 2022 16:58:28 +0100 |
parent | 12359:f81488951f81 |
child | 12367:7a2f036f73b3 |
line wrap: on
line diff
--- a/net/stun.lua Fri Mar 04 16:55:32 2022 +0100 +++ b/net/stun.lua Fri Mar 04 16:58:28 2022 +0100 @@ -3,6 +3,7 @@ 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