]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_hep: Add additional config initialization and validation
authorSean Bright <sean.bright@gmail.com>
Mon, 24 Apr 2017 18:16:45 +0000 (14:16 -0400)
committerSean Bright <sean.bright@gmail.com>
Mon, 24 Apr 2017 18:22:40 +0000 (13:22 -0500)
commit03fb67f0279f3dc4e3ae8d226721bd5973c015ae
tree0c210f2d5df1323dbfe040435f49140369548f35
parenta40f2c8246c498772b2d9ee5c2fc6955f1ba179f
res_hep: Add additional config initialization and validation

* Initialize hepv3_runtime_data.sockfd to -1 so that our ao2 destructor
  does not close fd 0

* Add logging output when the required option - capture_address - is not
  specified.

* Remove a no longer relevant #define and correct related documentation

* Pass appropriate flags to aco_option_register so that capture_address
  cannot be the empty string.

ASTERISK-26953 #close

Change-Id: Ief08441bc6596d6f1718fa810e54a5048124f076
res/res_hep.c