[Asterisk-code-review] res parking: Set load pri more appropriately. (asterisk[master])
Corey Farrell
asteriskteam at digium.com
Tue Nov 21 14:26:33 CST 2017
Corey Farrell has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/48/7348/1
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: newchange
Gerrit-Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259
Gerrit-Change-Number: 7348
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171121/b7b766aa/attachment.html>
More information about the asterisk-code-review
mailing list