diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-19 08:53:19 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-05-19 08:53:19 +0000 |
commit | 4cf3dc2d3d71b0ce2adacdfb6e3ed5acfdc6d962 (patch) | |
tree | 2f9a483b3d0bd677e1f9440e25e5052d11457cef /src/ats | |
parent | 1430fc48988e28d5db9883c044dee7267ca9cdd4 (diff) | |
download | gnunet-4cf3dc2d3d71b0ce2adacdfb6e3ed5acfdc6d962.tar.gz gnunet-4cf3dc2d3d71b0ce2adacdfb6e3ed5acfdc6d962.zip |
- increase log level when quotas cannot be loaded from configuration
- fix for setting default inbound bandwidth
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 6b8f13a1b..98340e86a 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -1686,7 +1686,7 @@ load_quotas (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1686 | } | 1686 | } |
1687 | else | 1687 | else |
1688 | { | 1688 | { |
1689 | GNUNET_log(GNUNET_ERROR_TYPE_WARNING, | 1689 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, |
1690 | _("No outbound quota configured for network `%s', assigning default bandwidth %llu\n"), | 1690 | _("No outbound quota configured for network `%s', assigning default bandwidth %llu\n"), |
1691 | network_str[c], GNUNET_ATS_DefaultBandwidth); | 1691 | network_str[c], GNUNET_ATS_DefaultBandwidth); |
1692 | out_dest[c] = GNUNET_ATS_DefaultBandwidth; | 1692 | out_dest[c] = GNUNET_ATS_DefaultBandwidth; |
@@ -1730,10 +1730,10 @@ load_quotas (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1730 | } | 1730 | } |
1731 | else | 1731 | else |
1732 | { | 1732 | { |
1733 | GNUNET_log(GNUNET_ERROR_TYPE_WARNING, | 1733 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, |
1734 | _("No outbound quota configure for network `%s', assigning default bandwidth %llu\n"), | 1734 | _("No outbound quota configure for network `%s', assigning default bandwidth %llu\n"), |
1735 | network_str[c], GNUNET_ATS_DefaultBandwidth); | 1735 | network_str[c], GNUNET_ATS_DefaultBandwidth); |
1736 | out_dest[c] = GNUNET_ATS_DefaultBandwidth; | 1736 | in_dest[c] = GNUNET_ATS_DefaultBandwidth; |
1737 | } | 1737 | } |
1738 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, | 1738 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, |
1739 | "Loaded quota for network `%s' (in/out): %llu %llu\n", network_str[c], | 1739 | "Loaded quota for network `%s' (in/out): %llu %llu\n", network_str[c], |