]> git.ipfire.org Git - thirdparty/lldpd.git/commit
bsd: fix use of ifmediareq for OpenBSD
authorVincent Bernat <vincent@bernat.im>
Mon, 13 Jun 2016 06:43:11 +0000 (08:43 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 13 Jun 2016 06:43:11 +0000 (08:43 +0200)
commitaf21a0e1074dcba8f0c202fb10e7f1c06e92a025
tree32ee067905ce7ca5cfd55063d3aaca91146d056f
parentcdc32f2cb98959fc191c3bd3e67e06ecea08b57a
bsd: fix use of ifmediareq for OpenBSD

They changed the struct. Other BSD didn't. Use of "typeof()" to
circumvent this.

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/net/if.h#rev1.167
src/daemon/interfaces-bsd.c