diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-02 13:51:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-02 13:51:25 +0000 |
commit | a93ac678894076e74681fa9e10de0792a3894768 (patch) | |
tree | 8285f78bb22bfcb25f37c96e1fa08b32d0f75247 /src/transport/plugin_transport_tcp.c | |
parent | 4fc53710567f9324696f859ac6e0d6a9f87650f9 (diff) | |
download | gnunet-a93ac678894076e74681fa9e10de0792a3894768.tar.gz gnunet-a93ac678894076e74681fa9e10de0792a3894768.zip |
redundant cases
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 47936b336..93ee4c88e 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -1453,8 +1453,7 @@ check_port (struct Plugin *plugin, uint16_t in_port) | |||
1453 | if ( (plugin->behind_nat == GNUNET_YES) && (in_port == 0) ) | 1453 | if ( (plugin->behind_nat == GNUNET_YES) && (in_port == 0) ) |
1454 | return GNUNET_OK; | 1454 | return GNUNET_OK; |
1455 | if ( (plugin->only_nat_addresses == GNUNET_YES) && | 1455 | if ( (plugin->only_nat_addresses == GNUNET_YES) && |
1456 | (plugin->behind_nat == GNUNET_YES) && | 1456 | (plugin->behind_nat == GNUNET_YES) ) |
1457 | (in_port != 0) ) | ||
1458 | { | 1457 | { |
1459 | return GNUNET_SYSERR; /* odd case... */ | 1458 | return GNUNET_SYSERR; /* odd case... */ |
1460 | } | 1459 | } |