diff options
author | xrs <xrs@mail36.net> | 2018-11-16 18:22:09 +0100 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2018-11-16 18:22:09 +0100 |
commit | ec3b834e1a8a8ce93f10221952b595d05e2c72a3 (patch) | |
tree | 63135c331bd7a49bb8b2a387e9027a7a41dd0336 /src/transport/gnunet-service-transport_neighbours.c | |
parent | d25f1b4026d5c2c195592daf092377eccfd2d71a (diff) | |
parent | 35e5be0b0b4c7aea5a56d6a62333ab3a964a2972 (diff) | |
download | gnunet-ec3b834e1a8a8ce93f10221952b595d05e2c72a3.tar.gz gnunet-ec3b834e1a8a8ce93f10221952b595d05e2c72a3.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 3965bc13e..68344bcf4 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
@@ -571,7 +571,6 @@ neighbours_connect_notification (struct NeighbourMapEntry *n) | |||
571 | connect_msg->header.size = htons (sizeof(buf)); | 571 | connect_msg->header.size = htons (sizeof(buf)); |
572 | connect_msg->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); | 572 | connect_msg->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); |
573 | connect_msg->id = n->id; | 573 | connect_msg->id = n->id; |
574 | connect_msg->quota_in = n->primary_address.bandwidth_in; | ||
575 | connect_msg->quota_out = bandwidth_min; | 574 | connect_msg->quota_out = bandwidth_min; |
576 | GST_clients_broadcast (&connect_msg->header, | 575 | GST_clients_broadcast (&connect_msg->header, |
577 | GNUNET_NO); | 576 | GNUNET_NO); |