Project

General

Profile

Actions

Bug #9933

closed

Captive Portal + Voucher not keeping auto-added "Pass-through MAC Auto Entry"

Added by Johan DEVELON over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
11/28/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4-p3
Affected Architecture:
All

Description

With Captive Portal, the "Enabled Pass-through MAC Auto Entry" should normally keep definitvly the MAC address into table. Regarding documentation there is only one way to delete it: manually.
But in version 2.4.4p3, the auto-added Mac is deleted in same time than Voucher expiration.

Correction find with Forum and Gertjan help.
https://forum.netgate.com/topic/148464/captive-portal-voucher-not-keeping-auto-added-pass-through-mac-auto-entry/4

the captiveportal.inc file , function captiveportal_prune_old_automac() has a block to remove MAC from list.

Solution:
Keeping log Voucher is expired, remove code about deleting rules and table auto-added line.

Actions

Also available in: Atom PDF