Revision 8dffba30
Added by Jim Pingle over 4 years ago
src/etc/inc/filter.inc | ||
---|---|---|
1313 | 1313 |
if (is_wg_enabled()) { |
1314 | 1314 |
$oic = array(); |
1315 | 1315 |
$oic['if'] = "wg"; |
1316 |
$oic['descr'] = 'Wireguard';
|
|
1316 |
$oic['descr'] = 'WireGuard';
|
|
1317 | 1317 |
$oic['type'] = "none"; |
1318 | 1318 |
$oic['virtual'] = true; |
1319 | 1319 |
$FilterIflist['wireguard'] = $oic; |
... | ... | |
1772 | 1772 |
continue; |
1773 | 1773 |
} |
1774 | 1774 |
$tonathosts[] = $wg['interface']['address']; |
1775 |
$descriptions[] = gettext('Wireguard');
|
|
1775 |
$descriptions[] = gettext('WireGuard');
|
|
1776 | 1776 |
} |
1777 | 1777 |
} |
1778 | 1778 |
|
src/etc/inc/interfaces.inc | ||
---|---|---|
7587 | 7587 |
} |
7588 | 7588 |
|
7589 | 7589 |
if (is_wg_enabled() && have_ruleint_access("wireguard")) { |
7590 |
$iflist['wireguard'] = 'Wireguard';
|
|
7590 |
$iflist['wireguard'] = 'WireGuard';
|
|
7591 | 7591 |
} |
7592 | 7592 |
|
7593 | 7593 |
return($iflist); |
src/usr/local/www/firewall_rules.php | ||
---|---|---|
721 | 721 |
$selected_descs[] = 'OpenVPN'; |
722 | 722 |
break; |
723 | 723 |
case 'wireguard': |
724 |
$selected_descs[] = 'Wireguard';
|
|
724 |
$selected_descs[] = 'WireGuard';
|
|
725 | 725 |
break; |
726 | 726 |
default: |
727 | 727 |
$selected_descs[] = $interface; |
Also available in: Unified diff
Fix WireGuard case