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:
parent
acb1dfb0a4
commit
ee35f9be36
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user