Project

General

Profile

Bug #7430

pfsense-utils.inc - where_is_ipaddr_configured() should account for loopback interface

Added by Kill Bill 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/26/2017
Due date:
% Done:

0%

Affected version:
All
Affected Architecture:
All

Description

At least with $check_localip = true, this function should IMNSHO return the lo0 interface when you pass 127.0.0.1 or ::1 in $ipaddr. As it is, you get an empty array (and is_ipaddr_configured() returns false, of course). Don't exactly feel like hacking around this in packages.

Related forum thread: https://forum.pfsense.org/index.php?topic=127875.0

Also available in: Atom PDF