From 23886e5dbc14010c96e7de82a1767aa4e2dc7afb Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Wed, 24 Feb 2010 15:28:25 +0000 Subject: [PATCH] udp nat test case doesn't fail if not installed as root --- src/transport/test_transport_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 50bc02956..46c3ba3af 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -410,7 +410,9 @@ main (int argc, char *argv[]) is_udp_nat = GNUNET_YES; if (check_gnunet_nat_server() == GNUNET_NO) { - return GNUNET_SYSERR; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "gnunet-nat-server not installed as root, but not failing!\n"); + return 0; } } else if (strstr(argv[0], "udp") != NULL) -- 2.25.1