]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixed build problem when ./configure --disable-server is used.
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 19 Aug 2009 15:48:50 +0000 (15:48 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 19 Aug 2009 15:48:50 +0000 (15:48 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4836 e7ae566f-a301-0410-adde-c780ea21d3b5

manage.c

index 79141fbde1526795f6b9a6bc2c51892cf4e5b3e2..37663bd1f1ec635ec17ca3b8d5b64209e3e34b53 100644 (file)
--- a/manage.c
+++ b/manage.c
@@ -995,10 +995,12 @@ man_dispatch_command (struct management *man, struct status_output *so, const ch
     {
       msg (M_CLIENT, "SUCCESS: pid=%d", openvpn_getpid ());
     }
+#ifdef MANAGEMENT_DEF_AUTH
   else if (streq (p[0], "nclients"))
     {
       man_client_n_clients (man);
     }
+#endif
   else if (streq (p[0], "signal"))
     {
       if (man_need (man, p, 1, 0))