From 6ffb064f4d588cf6f3bab4b34aacbebc2e2c9bac Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 9 Sep 2013 09:14:52 -0300 Subject: [PATCH] Add action to auto created passtru mac rule --- etc/inc/captiveportal.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 0f73b0ae5a..da55c89fb2 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1883,6 +1883,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut if ($passthrumac) { $mac = array(); + $mac['action'] = 'pass'; $mac['mac'] = $clientmac; $mac['ip'] = $clientip; /* Used only for logging */ if (isset($config['captiveportal'][$cpzone]['passthrumacaddusername'])) {