2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Fix a typo in IPv6 handling which was actually leading to totally ignore IPv4 traffic.

This commit is contained in:
Pierre Schweitzer 2015-01-26 10:17:12 +01:00
parent acb1dfb0a4
commit ee35f9be36

View File

@ -139,9 +139,9 @@ fi
if [ $ipv6 -ge $oldv6 ];
then
diffv4=$(($ipv6 - $oldv6))
diffv6=$(($ipv6 - $oldv6))
else
diffv4=$ipv6
diffv6=$ipv6
fi
echo "IPv4=$ipv4" > $MUNIN_STATEFILE