Module: sip-router
Branch: master
Commit: 53175995fb7fe7d760c063c4d542e991c1513344
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=53175995fb7fe7d760c063c4d542e991c1513344

Author: Peter Dunkley <[email protected]>
Committer: Peter Dunkley <[email protected]>
Date:   Thu Oct 25 19:45:04 2012 +0100

modules/app_lua: Updated because of recent changes to auth and auth_db

---

 modules/app_lua/app_lua_exp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/app_lua/app_lua_exp.c b/modules/app_lua/app_lua_exp.c
index 8716b48..856bc0d 100644
--- a/modules/app_lua/app_lua_exp.c
+++ b/modules/app_lua/app_lua_exp.c
@@ -1080,7 +1080,7 @@ static int lua_sr_auth_pv_authenticate(lua_State *L, int 
hftype)
        realm.len = strlen(realm.s);
        passwd.len = strlen(passwd.s);
        ret = _lua_authb.pv_authenticate(env_L->msg, &realm, &passwd, flags,
-                       hftype);
+                       hftype, &env_L->msg->first_line.u.request.method);
 
        return app_lua_return_int(L, ret);
 }
@@ -1176,7 +1176,7 @@ static int lua_sr_auth_db_authenticate(lua_State *L, 
hdr_types_t hftype)
        realm.len = strlen(realm.s);
        table.len = strlen(table.s);
        ret = _lua_auth_dbb.digest_authenticate(env_L->msg, &realm, &table,
-                       hftype);
+                       hftype, &env_L->msg->first_line.u.request.method);
 
        return app_lua_return_int(L, ret);
 }


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to