Bug #2328
closed
SIOCGIFMTU ioctl fails on OS X
Added by Davide Pesavento almost 10 years ago.
Updated almost 10 years ago.
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
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.
- Status changed from New to Feedback
- Assignee set to Davide Pesavento
- Target version set to v0.3
- % Done changed from 0 to 50
- Related to Bug #2327: SIOCADDMULTI ioctl fails on OS X added
- Status changed from Feedback to Code review
- % Done changed from 50 to 100
- Status changed from Code review to Closed
Also available in: Atom
PDF