Project

General

Profile

Actions

Bug #1392

closed

nfdc destroy erroneously fail

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Management
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This may not be nfdc problem (could be in FaceManager)

When trying to destroy face, face is actually destroyed, but nfdc shows an error:

ERROR: Face destroy failed: Requested decoding of FaceManagementOptions, but Block is of different type

Steps to reproduce:

sudo ./build/nfd

NFD=1 ./build/bin/nfdc create udp://1.1.1.1
NFD=1 ./build/bin/nfdc destroy <face-from-create>
Actions #1

Updated by Junxiao Shi almost 11 years ago

  • Category set to Management
  • Assignee set to Anonymous
  • Target version set to v0.1

ControlResponse requires ControlParameters to be echoed unless overridden in individual command.

This is not overridden for faces/destroy command.

FaceManager::destroyFace is violating FaceMgmt by sending an empty <body> in ControlResponse.

Actions #2

Updated by Anonymous almost 11 years ago

  • Status changed from New to Code review
Actions #3

Updated by Alex Afanasyev almost 11 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF