Project

General

Profile

Actions

Bug #1399

closed

nfdc failed to add nexthop

Added by Yi Huang about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Management
Target version:
Start date:
03/24/2014
Due date:
% Done:

0%

Estimated time:

Description

ndn-cpp-dev commit bc19b37cfcf93172dbe012fa8baa1daa055ded58

NFD commit ba7490517d1f4e9b699d7398788db03e1ffaeacc

Steps to reproduce:

  1. Change config file at "~/.ndn/client.conf" to use "nfd=0.1"
  2. Start NFD (sudo env NFD_LOG=all nfd)
  3. Add new face with nfdc (nfdc create udp4://10.0.0.1)
  4. Run nfd-status to get the face id (nfd-status)

    faceid=4 uri=udp4://10.0.0.1:6363 counters={in={0i 0d} out={0i 0d}}

  5. Add nexthop with nfdc (nfdc add-nexthop /example 4)

nfdc output:

ltr120@traffic-gen-vm2:~$ nfdc add-nexthop /example 4
ERROR: error while receiving data from socket (End of file)

Related NFD log (last four lines):

DEBUG: [InternalFace] found Interest filter for /localhost/nfd/fib (previous match)
DEBUG: [FibManager] Options parsed OK
INFO: [FibManager] command result: processing verb: add-nexthop
nfd: /usr/local/include/ndn-cpp-dev/management/nfd-control-parameters.hpp:186: uint64_t ndn::nfd::ControlParameters::getCost() const: Assertion `m_hasCost' failed.
Actions

Also available in: Atom PDF