Skip to content

Commit

Permalink
Replace missing function 'table_count' for 'table_size'
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Jun 30, 2017
1 parent 29c14f4 commit a6c86a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/yang/binary.lua
Expand Up @@ -202,7 +202,7 @@ local function data_emitter(production)
-- FIXME: lctable if production.value_ctype?
return function(data, stream)
stream:write_stringref('lltable')
stream:write_uint32(table_count(data))
stream:write_uint32(table_size(data))
for k,v in pairs(data) do
emit_key(k, stream)
emit_value(v, stream)
Expand Down

0 comments on commit a6c86a8

Please sign in to comment.