diff options
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 80d0fc2bd..eeafc5b97 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1107,9 +1107,9 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, | |||
1107 | if ((h->internal_address != NULL) && | 1107 | if ((h->internal_address != NULL) && |
1108 | (inet_pton (AF_INET, h->internal_address, &in_addr) != 1)) | 1108 | (inet_pton (AF_INET, h->internal_address, &in_addr) != 1)) |
1109 | { | 1109 | { |
1110 | LOG (GNUNET_ERROR_TYPE_WARNING, "nat", | 1110 | GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING, |
1111 | _("Malformed %s `%s' given in configuration!\n"), "INTERNAL_ADDRESS", | 1111 | "nat", "INTERNAL_ADDRESS", |
1112 | h->internal_address); | 1112 | _("malformed")); |
1113 | GNUNET_free (h->internal_address); | 1113 | GNUNET_free (h->internal_address); |
1114 | h->internal_address = NULL; | 1114 | h->internal_address = NULL; |
1115 | } | 1115 | } |