Project

General

Profile

Actions

Bug #12649

closed

Allowed IP/Hostname "Direction" option is never used

Added by Viktor Gurov almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Captive Portal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
All
Affected Architecture:

Description

The "Direction" (dir in config) is never used in the captiveportal_allowedip_configure_entry():
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc#L1469

Looks like legacy / incorrect refactoring code.

In fact, it only confuses users,- what does "From" mean? Why use "To" but not "Both"?


Related issues

Related to Todo #13100: Transition Captive Portal from IPFW to PFResolvedViktor Gurov

Actions
Actions

Also available in: Atom PDF