]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: fix format string when reading statistics
authorStephen Hemminger <shemming@brocade.com>
Thu, 10 Dec 2015 16:52:10 +0000 (08:52 -0800)
committerStephen Hemminger <shemming@brocade.com>
Thu, 10 Dec 2015 16:52:10 +0000 (08:52 -0800)
commit654ae881de57467642c8c2ed16ffc3a8d57fafa2
treedaf70a37b92f2bdd58613344aae8214b9a5b3ef3
parentb08b5ff128874f94a1bc9dd8e178fa0e57c11c61
ip: fix format string when reading statistics

The tunnel code was doing sscanf(buf, "%ld", &x) where x was unsigned
long.
ip/ip6tunnel.c
ip/iptunnel.c