Wireshark-commits: [Wireshark-commits] master 0215d34: Lua: define table.unpack for Lua 5.1 for com
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0215d34be76628a84fcebcb468a42f0ea88aaec0
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
0215d34 by Peter Wu (peter@xxxxxxxxxxxxx):
Lua: define table.unpack for Lua 5.1 for compatibility
Lua 5.2 moves unpack to table.unpack, be sure to define this for Lua 5.1
or LuaJIT. This fixes an error with https://github.com/Lekensteyn/kdnet
when using LuaJIT.
Change-Id: Ib9e4591d9edb1cb3b0c1e86172331055f9f457d9
Ping-Bug: 15745
Reviewed-on: https://code.wireshark.org/review/33046
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 09f0d85 AT: Add ZPAS Command
add 0215d34 Lua: define table.unpack for Lua 5.1 for compatibility
Summary of changes:
epan/wslua/init_wslua.c | 8 ++++++++
1 file changed, 8 insertions(+)