Browse code

statistics are safe to be used from LOCAL ROUTE

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4367 689a6050-402a-0410-94f2-e92a70836424

Bogdan-Andrei Iancu authored on 10/06/2008 15:02:24
Showing 1 changed files
... ...
@@ -56,9 +56,9 @@ struct stat_or_pv {
56 56
 
57 57
 static cmd_export_t cmds[]={
58 58
 	{"update_stat",  (cmd_function)w_update_stat,  2, fixup_stat, 0,
59
-			REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE},
59
+		REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE|LOCAL_ROUTE},
60 60
 	{"reset_stat",   (cmd_function)w_reset_stat,    1, fixup_stat, 0,
61
-			REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE},
61
+		REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONREPLY_ROUTE|LOCAL_ROUTE},
62 62
 	{0,0,0,0,0,0}
63 63
 };
64 64