]> git.ipfire.org Git - thirdparty/lldpd.git/commit
interfaces: don't block when sending LLDP frames branch-0.5 49/head
authorVincent Bernat <bernat@luffy.cx>
Wed, 26 Sep 2012 22:21:45 +0000 (00:21 +0200)
committerVincent Bernat <bernat@luffy.cx>
Wed, 26 Sep 2012 22:21:45 +0000 (00:21 +0200)
commitdd19196717665ea31db2b852a46d996fca63c165
treedded6c821c0962ae0e538d231104a9d5f60aa5d8
parent5883b651a94a96d4d5529589755cec595ba29de2
interfaces: don't block when sending LLDP frames

It seems that in some situations, sending on a network interface (a
virtual one for example) could block. We circumvent this by making the
interface non blocking before sending.
CHANGELOG
src/interfaces.c