Project

General

Profile

Actions

Bug #2328

closed

SIOCGIFMTU ioctl fails on OS X

Added by Davide Pesavento over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Low
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

OS X version 10.9.5

1419380424.809736 WARNING: [EthernetFace] [id:-1,endpoint:en1] Failed to get interface MTU: Invalid argument
[...]
1419380424.833639 WARNING: [EthernetFace] [id:-1,endpoint:en0] Failed to get interface MTU: Invalid argument

Related issues 1 (0 open1 closed)

Related to NFD - Bug #2327: SIOCADDMULTI ioctl fails on OS XClosedDavide Pesavento

Actions
Actions #1

Updated by Davide Pesavento over 9 years ago

It seems that ioctls on a file descriptor returned by pcap_get_selectable_fd() do not work on OS X, I believe because the fd does not refer to a socket but to the bpf special device.

Actions #2

Updated by Davide Pesavento over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Davide Pesavento
  • Target version set to v0.3
  • % Done changed from 0 to 50

Let me know if the solution in http://gerrit.named-data.net/1573 is acceptable.

Actions #3

Updated by Davide Pesavento over 9 years ago

  • Related to Bug #2327: SIOCADDMULTI ioctl fails on OS X added
Actions #4

Updated by Davide Pesavento over 9 years ago

  • Status changed from Feedback to Code review
  • % Done changed from 50 to 100
Actions #5

Updated by Davide Pesavento over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF