Module: sip-router Branch: 3.1 Commit: 405fb620d1bba43c159012772175f533a40a3a77 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=405fb620...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Thu Oct 7 15:57:27 2010 +0300
modules/auth: fixed comment in nonce_count example
---
modules/auth/README | 6 ++++-- modules/auth/doc/params.xml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/modules/auth/README b/modules/auth/README index e70cf07..92e4641 100644 --- a/modules/auth/README +++ b/modules/auth/README @@ -194,8 +194,10 @@ modparam("auth", "qop", "auth") # enable qop=auth route{ ... # go stateful and catch retransmissions - if (!t_newtran()) - drop; # retransmission + if (!t_newtran()) { + xlog("L_NOTICE", "Failed to create new transaction\n"); + drop; + }; if (method=="REGISTER"){ if (!www_authenticate("test", "credentials")){ # reply must be sent with t_reply because the diff --git a/modules/auth/doc/params.xml b/modules/auth/doc/params.xml index af44e2a..ad84251 100644 --- a/modules/auth/doc/params.xml +++ b/modules/auth/doc/params.xml @@ -194,8 +194,10 @@ modparam("auth", "qop", "auth") # enable qop=auth route{ ... # go stateful and catch retransmissions - if (!t_newtran()) - drop; # retransmission + if (!t_newtran()) { + xlog("L_NOTICE", "Failed to create new transaction\n"); + drop; + }; if (method=="REGISTER"){ if (!www_authenticate("test", "credentials")){ # reply must be sent with t_reply because the