[sr-dev] [kamailio] htable: fixing htable.stats for max slot value (#436)

Dmitri Savolainen notifications at github.com
Wed Dec 9 14:02:45 CET 2015


add missed 'd' parameter to rpc->struct_add format string
before patch
```
[root at sw4 kamailio]# kamcmd htable.stats
{
	name: some_htable
	slots: 4096
	all: 285304
	min: 43
}
```
after patch
```
[root at sw4 kamailio]# kamcmd htable.stats
{
	name: some_htable
	slots: 4096
	all: 285304
	min: 43
	max: 103
}
```
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/436

-- Commit Summary --

  * htable: fixing htable.stats for max slot value

-- File Changes --

    M modules/htable/htable.c (2)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/436.patch
https://github.com/kamailio/kamailio/pull/436.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151209/d59d53ca/attachment.html>


More information about the sr-dev mailing list