]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Fix error handling in location data.
authorAndreas Hofmeister <andi@collax.com>
Sun, 28 Feb 2010 16:26:14 +0000 (17:26 +0100)
committerVincent <bernat@luffy.cx>
Sat, 6 Mar 2010 09:26:46 +0000 (10:26 +0100)
commit3c26500bef4fc89f446ac5983366f9a97cf12ef0
treeecfbeb33949e1ffacec51020f2a62f60693bb9d0
parent1480ce745f2383a6d59cdf62117707396f05d95a
Fix error handling in location data.

Instead of just logging an invalid data length for location data, an error
element is emited to the output.

An unknown location fromat is now enclosed in an "unknown" tag to prevent
that the "location" element ever contains character data.
src/display.c