| Index: modules/nagios/files/check_bandwidth |
| =================================================================== |
| --- a/modules/nagios/files/check_bandwidth |
| +++ b/modules/nagios/files/check_bandwidth |
| @@ -34,7 +34,7 @@ |
| process = subprocess.Popen( |
| ["sudo", "tcpdump", "-q", "-s", "64", "-G", str(INTERVAL), "-W", "1", "-w", "-"], |
| stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
| - mac = getmacaddress() |
| + mac = getmacaddress(nic) |
| total = {"rx": 0, "tx": 0} |
| http = {"rx": 0, "tx": 0} |