diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-11-09 12:00:20 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-11-09 20:01:06 +0000 |
commit | 3425b5bc4866e962ef49be7a8eb4edeac8644ed0 (patch) | |
tree | 0ed7091e2a1c23a0144a7dc98f41a6c9b137127c | |
parent | 09f5ff4fc6895f375b3ea07f6151d8e09377fd52 (diff) |
Update tests to reflect Lua file API change (write_close -> write_finish).
Change-Id: I7288cd3660dfd14be95dc42910faed47eca8226b
Reviewed-on: https://code.wireshark.org/review/11661
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | test/lua/pcap_file.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lua/pcap_file.lua b/test/lua/pcap_file.lua index b949a38717..e013b8a16b 100644 --- a/test/lua/pcap_file.lua +++ b/test/lua/pcap_file.lua @@ -730,8 +730,8 @@ local function write(file, capture, frame) return true end -local function write_close(file, capture) - dprint2("write_close() called") +local function write_finish(file, capture) + dprint2("write_finish() called") dprint2("Good night, and good luck") return true end @@ -743,7 +743,7 @@ local fh2 = FileHandler.new("Lua-based PCAP writer", "lua_pcap2", "A Lua-based f fh2.can_write_encap = can_write_encap fh2.write_open = write_open fh2.write = write -fh2.write_close = write_close +fh2.write_finish = write_finish fh2.extensions = "pcap;cap" -- this is just a hint -- and finally, register the FileHandler! |