projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubus/lua: pass notification name to callback
[project/ubus.git]
/
lua
/
subscriber.lua
diff --git
a/lua/subscriber.lua
b/lua/subscriber.lua
index e1d3a9f356c2d880053de85f94f3511643267e0f..f59448db72c5e233ce70c908df0ccf21791f31c3 100755
(executable)
--- a/
lua/subscriber.lua
+++ b/
lua/subscriber.lua
@@
-15,8
+15,9
@@
if not conn then
end
local sub = {
- notify = function( msg )
- print("Count: ", msg["count"])
+ notify = function( msg, name )
+ print("name:", name)
+ print(" count:", msg["count"])
end,
}