doc: gnunet-c-tutorial: Add nodes.
[oweals/gnunet.git] / src / nat / nat_api.c
index a0e9f4793d533f4bf4c788daa0a20aa790e660bd..69612584e879922f6be69fd0417ca5a4afe37be6 100644 (file)
@@ -403,7 +403,7 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg,
     len += addrlens[i];
   str_len = strlen (config_section) + 1;
   len += str_len;
-  if ( (len > GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (*rm)) ||
+  if ( (len > GNUNET_MAX_MESSAGE_SIZE - sizeof (*rm)) ||
        (num_addrs > UINT16_MAX) )
   {
     GNUNET_break (0);