Review Board 1.7.16


Make 'core show sysinfo' work on systems that dont have sysinfo but do have sysctl (Like OpenBSD)

Review Request #91 - Created Dec. 13, 2008 and submitted

Michiel van Baak
trunk
13433
Reviewers
asterisk-dev
Asterisk
OpenBSD (and some others) dont have the sysinfo functionality found in Linux.
The same information can be found using sysctl on those systems.
compiles and works on OpenBSD 4.4 amd64
Review request changed
Updated (Dec. 14, 2008, 4:18 a.m.)
Updated patch based on russell's feedback
Ship it!
Posted (Dec. 14, 2008, 4:48 a.m.)
Other that one other tiny thing that I missed the first time, this looks fine.

Thanks for the contribution!
trunk/main/asterisk.c (Diff revision 2)
 
 
Use ast_free()
trunk/main/asterisk.c (Diff revision 2)
 
 
Use ast_free()

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.