Changeset

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
parents 12359:f81488951f81
children 12361:713f8ee9e1b4
files net/stun.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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