diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-07-21 15:09:58 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-07-25 02:11:30 -0300 |
| commit | f766e29c4b208e9e674cb2fa6d8b962c659dc2ad (patch) | |
| tree | 71e00db6de1ef0c48d0a0c00812b61f15d5574ed /lib/strlcat.c | |
| parent | 1e4d264f2bce049de4a7e90d2f7b9c1673b14c57 (diff) | |
zebra: fetch interface speed on *BSD
Fixes #407 for FreeBSD and NetBSD.
OpenBSD uses ioctl to fetch interface information on startup and the
SIOCGIFMEDIA command is just too cumbersome to use.
The best way to fix the problem for OpenBSD is probably to stop treating
it differently from the other BSDs for no apparent reason. There should
be nothing preventing us to make OpenBSD use the routing socket to fetch
interface information on startup (we already do it to detect runtime
changes). This is something that should be done in a separate commit
after a careful analysis.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/strlcat.c')
0 files changed, 0 insertions, 0 deletions
