commit | 750bb5cca2dbba742b64095d3487449f3550a654 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Tue Oct 01 23:27:23 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Tue Oct 01 23:27:23 2013 -0700 |
tree | d64b032d517f5aa4d1b5da052dff6be075804cc6 | |
parent | 586864e5ad87bb88e2a47579186e49c1049783a1 [diff] [blame] |
wireshark: fix buf in OFReader
diff --git a/wireshark_gen/templates/_ofreader.lua b/wireshark_gen/templates/_ofreader.lua index b95c9f6..2ec160d 100644 --- a/wireshark_gen/templates/_ofreader.lua +++ b/wireshark_gen/templates/_ofreader.lua
@@ -37,8 +37,8 @@ end self.read_all = function() - local r = buf(offset, buf.len() - offset) - offset = buf.len() + local r = buf(offset, buf:len() - offset) + offset = buf:len() return r end