Projet

Général

Profil

« Précédent | Suivant » 

Révision 0d0c01ca

Ajouté par jim-p il y a presque 10 ans

Add (self) keyword for specifying "any IP address on this firewall" as a rule choice.

Voir les différences:

etc/inc/filter.inc
2136 2136
						$lansn = $FilterIflist['lan']['snv6'];
2137 2137
						$src = "{$lansa}/{$lansn}";
2138 2138
						break;
2139
					case '(self)':
2140
						$src = "(self)";
2141
						break;
2139 2142
					case 'pptp':
2140 2143
						$pptpsav6 = gen_subnetv6($FilterIflist['pptp']['sav6'], $FilterIflist['pptp']['snv6']);
2141 2144
						$pptpsnv6 = $FilterIflist['pptp']['snv6'];
......
2172 2175
						$lansn = $FilterIflist['lan']['sn'];
2173 2176
						$src = "{$lansa}/{$lansn}";
2174 2177
						break;
2178
					case '(self)':
2179
						$src = "(self)";
2180
						break;
2175 2181
					case 'pptp':
2176 2182
						if (isset($config['pptpd']['n_pptp_units']) && is_numeric($config['pptpd']['n_pptp_units']))
2177 2183
							$pptp_subnets = ip_range_to_subnet_array($config['pptpd']['remoteip'], long2ip32(ip2long($config['pptpd']['remoteip'])+($config['pptpd']['n_pptp_units']-1)));

Formats disponibles : Unified diff