Project

General

Profile

Actions

Bug #1457

closed

Incorrect cost type for fib::Entry::addNextHop

Added by Alex Afanasyev almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Tables
Target version:
Start date:
04/09/2014
Due date:
% Done:

100%

Estimated time:

Description

Currently, fib::Entry::addNextHop has the following prototype

void
addNextHop(shared_ptr<Face> face, int32_t cost);

while the cost type and fib::Nexthop::setCost is uint64_t:

void
setCost(uint64_t cost);

In addition to that, test cases use uin64_t as a cost parameter and I'm not sure why compiler wasn't complaining before...

Actions #1

Updated by Alex Afanasyev almost 10 years ago

  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #2

Updated by Alex Afanasyev almost 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF