Skip to content

Commit

Permalink
interfaces: wrong variable in scope addition
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 15, 2022
1 parent fcbdc44 commit c9bdc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opnsense/mvc/app/library/OPNsense/Routing/Gateways.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function getAddress($name)
$result = $gateway['gateway'];
if (strtolower(substr($gateway['gateway'], 0, 5)) == "fe80:") {
// link local, suffix interface
$result .= "%{$gw['if']}";
$result .= "%{$gateway['if']}";
}
return $result;
}
Expand Down

0 comments on commit c9bdc3d

Please sign in to comment.