2
0
Эх сурвалжийг харах

modules/auth: fixed comment in nonce_count example

Juha Heinanen 15 жил өмнө
parent
commit
d5634f0e2e

+ 4 - 2
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

+ 4 - 2
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