# HG changeset patch # User Kim Alvefur # Date 1646409508 -3600 # Node ID 0801db678f5efd6709a3c84b876833cec5f6d2ad # Parent f81488951f814f2d0445678f216b37b33324ce02 net.stun: Use util.bitcompat to deal with bit module variances across Lua versions diff -r f81488951f81 -r 0801db678f5e net/stun.lua --- 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