Project

General

Profile

Actions

Bug #7430

open

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

Added by Kill Bill over 7 years ago. Updated over 5 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #1

Updated by Renato Botelho over 7 years ago

  • Target version deleted (2.4.0)

It's a subject to be discussed but doesn't make sense to change where_is_ipaddr_configured() this way since it uses get_configured_interface_list() that was designed to return only interfaces configured in pfSense GUI and not all interfaces from OS

Actions #2

Updated by Jim Pingle over 5 years ago

  • Category set to Interfaces
Actions

Also available in: Atom PDF