]> git.ipfire.org Git - thirdparty/systemd.git/commit
lldp: make sd_lldp_neighbor_tlv_rewind() return whether there's a first entry
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Jun 2016 15:48:31 +0000 (17:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 Jun 2016 17:59:08 +0000 (19:59 +0200)
commita85b46c33f09d62a066231abdf9727e84a3c07cc
tree515f161324b4472af1a41562115904f5b25aff9b
parenta2966471d815a965e2f4b86cdad30c8086c1ec6d
lldp: make sd_lldp_neighbor_tlv_rewind() return whether there's a first entry

This way it's nicer to use as it matches how sd_lldp_neighbor_tlv_next()
indicates an EOF too via its return value.
src/libsystemd-network/lldp-neighbor.c