Skip to content

Commit

Permalink
feat(client): add obvious prompt for users who need Tun
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Oct 29, 2023
1 parent 69792b8 commit 4cccdfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ return view.extend({
if (features.hp_has_ip_full && features.hp_has_tun) {
o.value('redirect_tun', _('Redirect TCP + Tun UDP'));
o.value('tun', _('Tun TCP/UDP'));
} else {
o.description = _('To enable Tun support, you need to install <b>%s</b><br/>').format(['ip-full', 'kmod-tun']);
}
o.default = 'redirect_tproxy';
o.rmempty = false;
Expand Down

0 comments on commit 4cccdfc

Please sign in to comment.