net.stun: Use util.bitcompat to deal with bit module variances across Lua versions

This commit is contained in:
Kim Alvefur 2022-03-04 16:58:28 +01:00
parent 1f257ecbb4
commit 7579bee6bb

View file

@ -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