]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lib: correctly set altitude unit without erasing neighbouring data
authorVincent Bernat <vincent.bernat@dailymotion.com>
Wed, 24 Jul 2013 16:33:51 +0000 (18:33 +0200)
committerVincent Bernat <vincent.bernat@dailymotion.com>
Wed, 24 Jul 2013 16:33:51 +0000 (18:33 +0200)
commitd2c04230fb3a71e2a464c8c608b5d3f4d00b618b
tree4ba83f4e9ebd01ddc4df89e5155e96b0043d49e6
parentbec75f842fa401558a72d62bfbee04bc726407d6
lib: correctly set altitude unit without erasing neighbouring data

The way the altitude unit was set in buffer was erasing 4 unrelated
bits with 0. This made the altitude precision wrong.
src/lib/atom-private.c