Project

General

Profile

Bug #335

guess_interface_from_ip does not work on bridges

Added by Erik Fonnesbeck over 9 years ago. Updated over 9 years ago.

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

0%

Estimated time:
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

Associated revisions

Revision 629208a2 (diff)
Added by Ermal Luçi over 9 years ago

Ticket #335. 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.

History

#1 Updated by Erik Fonnesbeck over 9 years ago

That was supposed to be

$fields[6]

#3 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

Committed thanks.

#4 Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF