Module: kamailio
Branch: master
Commit: cf98d1fa997e9b3e818c57d226613a50be0248b1
URL:
https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a5…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-06-27T10:46:54+02:00
modules: readme files regenerated - auth_xkeys ... [skip ci]
---
Modified: src/modules/auth_xkeys/README
---
Diff:
https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a5…
Patch:
https://github.com/kamailio/kamailio/commit/cf98d1fa997e9b3e818c57d226613a5…
---
diff --git a/src/modules/auth_xkeys/README b/src/modules/auth_xkeys/README
index d9e7bb9162..effcb25e6f 100644
--- a/src/modules/auth_xkeys/README
+++ b/src/modules/auth_xkeys/README
@@ -171,7 +171,7 @@ auth_xkeys_add("X-My-Key", "abc",
"sha256", "$Ri:$fu:$ru:$hdr(CSeq)");
Example 1.3. auth_xkeys_check usage
...
-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;
}