From 17d34d5e094c2f8a90717b07e3a711d6e2c15903 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Mar 2017 18:13:55 +0100 Subject: more renamings relating to 'new' service now just being the 'normal' service --- src/nat/nat_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nat/nat_api.c') diff --git a/src/nat/nat_api.c b/src/nat/nat_api.c index a0e9f4793..69612584e 100644 --- a/src/nat/nat_api.c +++ b/src/nat/nat_api.c @@ -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); -- cgit v1.2.3