-fix
authorChristian Grothoff <christian@grothoff.org>
Sun, 15 Jan 2012 18:47:35 +0000 (18:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 15 Jan 2012 18:47:35 +0000 (18:47 +0000)
src/vpn/gnunet-vpn.c

index 74975d3d687f259f966d39d9a59141b11ffbbd18..ecc0442c65b768e9e66dd01d68ddff091dda1307 100644 (file)
@@ -312,7 +312,7 @@ main (int argc, char *const *argv)
      1, &GNUNET_GETOPT_set_string, &peer_id},
     {'s', "service", "NAME",
      gettext_noop ("name of the service we would like to access"),
-     1, &GNUNET_GETOPT_set_string, &peer_id},
+     1, &GNUNET_GETOPT_set_string, &service_name},
     {'t', "tcp", NULL,
      gettext_noop ("service is offered via TCP"),
      0, &GNUNET_GETOPT_set_one, &tcp},