1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00: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