Project

General

Profile

« Previous | Next » 

Revision 965ce4c6

Added by Ermal LUÇI over 12 years ago

Restore accidentally removed code. Spoted-by: bcyrill@github

View differences:

usr/local/www/services_captiveportal_hostname.php
73 73
				$ipent['ip'] .= "/{$ipent['sn']}";
74 74
			$ip = gethostbyname($ipent['ip']);
75 75
			if(is_ipaddr($ip)) {
76
				$ipfw = pfSense_ipfw_getTablestats($cpzone, 3, $ip);
76 77
				if (is_array($ipfw)) {
77 78
					captiveportal_free_dn_ruleno($ipfw['dnpipe']);
78 79
					pfSense_pipe_action("pipe delete {$ipfw['dnpipe']}");

Also available in: Unified diff