Project

General

Profile

Actions

Bug #335

closed

guess_interface_from_ip does not work on bridges

Added by Erik Fonnesbeck about 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
02/05/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

If guess_interface_from_ip in interface.inc is used on an IP address that goes through a bridge interface, the returned interface name will just be "bridge" without a number. I found that netstat -rn does not show the number (not sure why), but netstat -rnW does. This adds an extra column for MTU before the interface name, so the return value needs to be adjusted to $fields6


Files

Actions #1

Updated by Erik Fonnesbeck about 14 years ago

That was supposed to be

$fields[6]

Actions #3

Updated by Ermal Luçi about 14 years ago

  • Status changed from New to Feedback

Committed thanks.

Actions #4

Updated by Chris Buechler about 14 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF