diff options
-rw-r--r-- | src/usr/local/www/interfaces.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 0ff4ce2..a8a0f22 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -2454,14 +2454,14 @@ if ($pconfig['track6-prefix-id'] == "") { } $section->addInput(new Form_Input( - 'track6-prefix-id--hex' . $iface, + 'track6-prefix-id--hex', 'IPv6 Prefix ID', 'text', sprintf("%x", $pconfig['track6-prefix-id']) ))->setHelp('<span id="track6-prefix-id-range"></span>The value in this field is the (Delegated) IPv6 prefix ID. This determines the configurable network ID based on the dynamic IPv6 connection. The default value is 0.'); $section->addInput(new Form_Input( - 'track6-prefix-id-max' . $iface, + 'track6-prefix-id-max', null, 'hidden', 0 @@ -3622,6 +3622,10 @@ events.push(function() { updateTypeSix(this.value); }); + $('#track6-interface').on('change', function() { + update_track6_prefix(); + }); + $('#pppoe-reset-type').on('change', function() { show_reset_settings(this.value); }); |