Skip to content

Commit

Permalink
luci-app-fwknopd: remove unused vars
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
  • Loading branch information
stokito authored and systemcrash committed Mar 2, 2024
1 parent 98a6ba2 commit 07c4185
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,26 +403,22 @@ var ParseButton = form.Button.extend({
},

renderStanzas: function(stanzas) {
var svgJobs = [];
var config = {};
config.access = stanzas;

var m, s, o;

var accessSection;
var sourceValue;

m = new form.JSONMap(config, null, _('Custom configuration read from /etc/fwknop/access.conf.'));
m.readonly = true;

// set the access.conf settings
accessSection = s = m.section(form.TypedSection, 'access', _('access.conf stanzas'));
s = m.section(form.TypedSection, 'access', _('access.conf stanzas'));
s.anonymous = true;

var qrCode = s.option(QrCodeValue, 'qr', _('QR code'), ('QR code to configure fwknopd Android application.'));
o = s.option(QrCodeValue, 'qr', _('QR code'), ('QR code to configure fwknopd Android application.'));

sourceValue = s.option(form.Value, 'SOURCE', 'SOURCE');
s.option(form.Value, 'DESTINATION', 'DESTINATION');
o = s.option(form.Value, 'SOURCE', 'SOURCE');
o = s.option(form.Value, 'DESTINATION', 'DESTINATION');

o = s.option(form.Value, 'KEY', 'KEY');
o.depends('keytype', 'KEY');
Expand Down

0 comments on commit 07c4185

Please sign in to comment.