diff options
Diffstat (limited to 'src/vpn/gnunet-vpn.c')
-rw-r--r-- | src/vpn/gnunet-vpn.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vpn/gnunet-vpn.c b/src/vpn/gnunet-vpn.c index 6402e1063..4c8dc43c0 100644 --- a/src/vpn/gnunet-vpn.c +++ b/src/vpn/gnunet-vpn.c | |||
@@ -80,11 +80,6 @@ static int udp; | |||
80 | static int verbosity; | 80 | static int verbosity; |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * Option '-a': Notify only once the tunnel is connected? | ||
84 | */ | ||
85 | static int nac; | ||
86 | |||
87 | /** | ||
88 | * Global return value. | 83 | * Global return value. |
89 | */ | 84 | */ |
90 | static int ret; | 85 | static int ret; |
@@ -246,7 +241,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
246 | protocol, | 241 | protocol, |
247 | &peer, | 242 | &peer, |
248 | &sd, | 243 | &sd, |
249 | nac, | ||
250 | etime, | 244 | etime, |
251 | &allocation_cb, NULL); | 245 | &allocation_cb, NULL); |
252 | } | 246 | } |
@@ -275,7 +269,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
275 | req_af, | 269 | req_af, |
276 | dst_af, | 270 | dst_af, |
277 | addr, | 271 | addr, |
278 | nac, | ||
279 | etime, | 272 | etime, |
280 | &allocation_cb, NULL); | 273 | &allocation_cb, NULL); |
281 | } | 274 | } |
@@ -297,9 +290,6 @@ main (int argc, char *const *argv) | |||
297 | {'6', "ipv6", NULL, | 290 | {'6', "ipv6", NULL, |
298 | gettext_noop ("request that result should be an IPv6 address"), | 291 | gettext_noop ("request that result should be an IPv6 address"), |
299 | 0, &GNUNET_GETOPT_set_one, &ipv6}, | 292 | 0, &GNUNET_GETOPT_set_one, &ipv6}, |
300 | {'a', "after-connect", NULL, | ||
301 | gettext_noop ("print IP address only after mesh tunnel has been created"), | ||
302 | 0, &GNUNET_GETOPT_set_one, &ipv6}, | ||
303 | {'d', "duration", "TIME", | 293 | {'d', "duration", "TIME", |
304 | gettext_noop ("how long should the mapping be valid for new tunnels?"), | 294 | gettext_noop ("how long should the mapping be valid for new tunnels?"), |
305 | 1, &GNUNET_GETOPT_set_relative_time, &duration}, | 295 | 1, &GNUNET_GETOPT_set_relative_time, &duration}, |