Projet

Général

Profil

« Précédent | Suivant » 

Révision 4ec6b54d

Ajouté par Ermal il y a environ 10 ans

Merge the forgotten Ticket #3062 patch for CP pipeno leaking issue which leads to the 'Maximum login reached' on CP

Voir les différences:

etc/inc/captiveportal.inc
1968 1968
					captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED");
1969 1969
			}
1970 1970
		}
1971
	} else
1971
	} else {
1972
		/* NOTE: #3062-11 If the pipeno has been allocated free it to not DoS the CP and maintain proper operation as in radius() case */
1973
		if (!is_null($pipeno))
1974
			captiveportal_free_dn_ruleno($pipeno);
1975

  
1972 1976
		unlock($cpdblck);
1977
	}
1973 1978

  
1974 1979
	if ($writecfg == true)
1975 1980
		write_config();

Formats disponibles : Unified diff