Revision 65615d89
Added by Seth Mos over 15 years ago
etc/inc/rrd.inc | ||
---|---|---|
258 | 258 |
foreach ($ifdescrs as $realif => $ifdescr) { |
259 | 259 |
$ifname = $ifdescr['friendly']; |
260 | 260 |
$state = $ifdescr['up']; |
261 |
$realif = get_real_interface($ifname); |
|
261 |
$temp = get_real_interface($ifname); |
|
262 |
if($temp <> "") { |
|
263 |
$realif = $temp; |
|
264 |
} |
|
262 | 265 |
|
263 | 266 |
/* skip interfaces that do not have a friendly name */ |
264 | 267 |
if ("$ifname" == "") { |
Also available in: Unified diff
Make sure that do not set the interface to a empty value, this affects the ipsec counters.