Project

General

Profile

Actions

Bug #3066

closed

dump: Crash when interface cannot be opened

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

Status:
Closed
Priority:
Low
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I tried to run ndn-dump without sudo and got segfault, instead of graceful error message:

vagrant@vagrant-ubuntu-vivid-64:~/ppa-packaging/ndn-tools/work$ ndndump
terminate called after throwing an instance of 'ndn::dump::Ndndump::Error'
  what():  Cannot open interface eth0(eth0: You don't have permission to capture on that device (socket: Operation not permitted))
Aborted (core dumped)
Actions

Also available in: Atom PDF