]> git.ipfire.org Git - thirdparty/lldpd.git/commit
bsd: check of SIOCGIFDESCR instead of IFDESCRSIZE
authorVincent Bernat <vbe@deezer.com>
Wed, 2 Apr 2014 13:55:55 +0000 (15:55 +0200)
committerVincent Bernat <vbe@deezer.com>
Wed, 2 Apr 2014 13:55:55 +0000 (15:55 +0200)
commit9fe83ec069145c027fc51608bc60bdb4edf73e53
tree903c8b11c28d29d260e0ee0df9605dffea40970e
parentf41ed9c5bd313614b329afaedc9f4e8e295bd9dd
bsd: check of SIOCGIFDESCR instead of IFDESCRSIZE

IFDESCRSIZE is defined at the beginning of the file and is therefore
always defined. Just check if SIOCGIFDESCR exists instead.
src/daemon/interfaces-bsd.c