Skip to content

Commit

Permalink
fix typo in message about "outboud nat rule" (opnsense#7429)
Browse files Browse the repository at this point in the history
* fix typo in message about "outboud nat rule"

* Removed unused $unqiue_addrs (with typo)

* Restore and fix typo $unique_addrs
  • Loading branch information
lyricnz authored May 3, 2024
1 parent a36b700 commit 66c684b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/opnsense/mvc/app/models/OPNsense/Interfaces/Vip.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function performValidation($validateFullModel = false)
{
$messages = parent::performValidation($validateFullModel);

$unqiue_addrs = [];
$unique_addrs = [];
$carp_vhids = [];
$vips = [];

Expand Down Expand Up @@ -197,7 +197,7 @@ public function performValidation($validateFullModel = false)
public function whereUsed($address)
{
$relevant_paths = [
'nat.outbound.rule.' => gettext('Address %s referenced by outboud nat rule "%s"'),
'nat.outbound.rule.' => gettext('Address %s referenced by outbound nat rule "%s"'),
'nat.rule.' => gettext('Address %s referenced by port forward "%s"'),
];
$usages = [];
Expand Down

0 comments on commit 66c684b

Please sign in to comment.