Skip to content
Snippets Groups Projects
Commit ae2c2867 authored by Julian Oes's avatar Julian Oes
Browse files

mavlink: adapt network detection for Mac, use heap

It seems that Mac does not support the ioctl to check how big the ifconf
buffer needs to be. Therefore we just have to make a guess.
Alos, instead of allocating the variable size array on the stack, it's
probably safer to use the heap.
parent 20cd5f3e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment