Module: kamailio
Branch: master
Commit: 0d4f48d168167df5fc6be38721cab69115637dae
URL:
https://github.com/kamailio/kamailio/commit/0d4f48d168167df5fc6be38721cab69…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-27T10:41:40+02:00
auth_xkeys: docs - fixed name of the function in example
---
Modified: src/modules/auth_xkeys/doc/auth_xkeys_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/0d4f48d168167df5fc6be38721cab69…
Patch:
https://github.com/kamailio/kamailio/commit/0d4f48d168167df5fc6be38721cab69…
---
diff --git a/src/modules/auth_xkeys/doc/auth_xkeys_admin.xml
b/src/modules/auth_xkeys/doc/auth_xkeys_admin.xml
index 691465b90d..cafece42d4 100644
--- a/src/modules/auth_xkeys/doc/auth_xkeys_admin.xml
+++ b/src/modules/auth_xkeys/doc/auth_xkeys_admin.xml
@@ -192,7 +192,7 @@ auth_xkeys_add("X-My-Key", "abc",
"sha256", "$Ri:$fu:$ru:$hdr(CSeq)");
<title><function>auth_xkeys_check</function> usage</title>
<programlisting format="linespecific">
...
-if(!auth_xkeys_add("X-My-Key", "abc", "sha256",
"$si:$fu:$ru:$hdr(CSeq)")) {
+if(!auth_xkeys_check("X-My-Key", "abc", "sha256",
"$si:$fu:$ru:$hdr(CSeq)")) {
send_reply("403", "Forbidden");
exit;
}