[Asterisk-code-review] res parking: Set load pri more appropriately. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Thu Nov 23 12:06:32 CST 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/7348 )

Change subject: res_parking: Set load_pri more appropriately.
......................................................................

res_parking: Set load_pri more appropriately.

res_parking had an inplicit load_pri of 0 meaning it was one of the very
first modules loaded after modules with global symbols.  Set it to
AST_MODPRI_DEVSTATE_PROVIDER as it provides device state for parking
lots.

Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259
---
M res/res_parking.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/res/res_parking.c b/res/res_parking.c
index 94cdb0e..2dbe6f7 100644
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -1293,4 +1293,5 @@
 	.load = load_module,
 	.unload = unload_module,
 	.reload = reload_module,
+	.load_pri = AST_MODPRI_DEVSTATE_PROVIDER,
 );

-- 
To view, visit https://gerrit.asterisk.org/7348
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259
Gerrit-Change-Number: 7348
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171123/05a91326/attachment.html>


More information about the asterisk-code-review mailing list