Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
restena-sw committed Jul 8, 2021
1 parent 25777d2 commit 85d5631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/diag/RFC7585Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function __construct(string $realm, $discoverytag = \config\Diagnostics::
*/
public function relevantNAPTR()
{
if ($this->discoverytag == "") {
if ($this->discoveryTag == "") {
$this->NAPTR_executed = RADIUSTests::RETVAL_NOTCONFIGURED;
return RADIUSTests::RETVAL_NOTCONFIGURED;
}
Expand Down Expand Up @@ -265,7 +265,7 @@ public function relevantNAPTRcompliance()
$formatErrors = [];
// format of NAPTRs is consortium specific. eduroam and OpenRoaming below;
// others need their own code
if ($this->discoverytag == "x-eduroam:radius.tls" || $this->discoverytag == "aaa+auth:radius.tls.tcp") {
if ($this->discoveryTag == "x-eduroam:radius.tls" || $this->discoveryTag == "aaa+auth:radius.tls.tcp") {
foreach ($this->NAPTR_records as $edupointer) {
// must be "s" type for SRV
if ($edupointer["flags"] != "s" && $edupointer["flags"] != "S") {
Expand Down

0 comments on commit 85d5631

Please sign in to comment.