Revision 8cf9244b
Added by Scott Ullrich almost 20 years ago
etc/inc/filter.inc | ||
---|---|---|
1740 | 1740 |
*/ |
1741 | 1741 |
if(isset($config['captiveportal']['enable'])) { |
1742 | 1742 |
$cp_interface = filter_translate_type_to_real_interface($config['captiveportal']['interface']); |
1743 |
$cp_ip = filter_translate_type_to_real_interface($cp_interface);
|
|
1743 |
$cp_ip = find_interface_ip($cp_interface);
|
|
1744 | 1744 |
$lan_ip = $config['interfaces']['lan']['ipaddr']; |
1745 | 1745 |
$ipfrules .= "\n# Setup Captive portal policy rules\n"; |
1746 | 1746 |
$ipfrules .= "table <captiveportal>\n"; |
Also available in: Unified diff
Woops, correctly get the optional interfaces ip