gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32852 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32852 - gnunet/src/mesh
Date: Tue, 1 Apr 2014 02:16:22 +0200

Author: bartpolot
Date: 2014-04-01 02:16:22 +0200 (Tue, 01 Apr 2014)
New Revision: 32852

Modified:
   gnunet/src/mesh/gnunet-mesh.c
Log:
- add peer option, move listen to free '-p'

Modified: gnunet/src/mesh/gnunet-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-mesh.c       2014-04-01 00:16:19 UTC (rev 32851)
+++ gnunet/src/mesh/gnunet-mesh.c       2014-04-01 00:16:22 UTC (rev 32852)
@@ -40,6 +40,11 @@
 static int request_peers;
 
 /**
+ * Option --peer
+ */
+static char *peer_id;
+
+/**
  * Option -T.
  */
 static int request_tunnels;
@@ -750,12 +755,15 @@
 //     {'m', "monitor", NULL,
 //      gettext_noop ("provide information about all tunnels (continuously) 
NOT IMPLEMENTED"), /* FIXME */
 //      GNUNET_NO, &GNUNET_GETOPT_set_one, &monitor_connections},
-    {'p', "port", NULL,
+    {'o', "open-port", NULL,
      gettext_noop ("port to listen to (default; 0)"),
      GNUNET_YES, &GNUNET_GETOPT_set_uint, &listen_port},
+    {'p', "peer", "PEER_ID",
+    gettext_noop ("provide information about all peers"),
+    GNUNET_NO, &GNUNET_GETOPT_set_string, &peer_id},
     {'P', "peers", NULL,
-    gettext_noop ("provide information about all peers"),
-    GNUNET_NO, &GNUNET_GETOPT_set_one, &request_peers},
+      gettext_noop ("provide information about all peers"),
+      GNUNET_NO, &GNUNET_GETOPT_set_one, &request_peers},
     {'t', "tunnel", "TUNNEL_ID",
      gettext_noop ("provide information about a particular tunnel"),
      GNUNET_YES, &GNUNET_GETOPT_set_string, &tunnel_id},




reply via email to

[Prev in Thread] Current Thread [Next in Thread]