mirror of
https://github.com/zoriya/flood.git
synced 2025-12-23 23:55:15 +00:00
Add peer exchange option
This commit is contained in:
@@ -87,7 +87,7 @@ export default class ConnectivityTab extends SettingsTab {
|
||||
<Checkbox
|
||||
checked={this.getDHTEnabledValue()}
|
||||
onChange={this.handleDHTToggle}>
|
||||
Enabled
|
||||
Enable
|
||||
</Checkbox>
|
||||
</div>
|
||||
</div>
|
||||
@@ -133,7 +133,7 @@ export default class ConnectivityTab extends SettingsTab {
|
||||
</div>
|
||||
</div>
|
||||
<div className="form__row">
|
||||
<div className="form__column form__column--half">
|
||||
<div className="form__column">
|
||||
<label className="form__label">
|
||||
Amount Desired
|
||||
</label>
|
||||
@@ -141,6 +141,13 @@ export default class ConnectivityTab extends SettingsTab {
|
||||
onChange={this.handleClientSettingFieldChange.bind(this, 'trackersNumWant')}
|
||||
value={this.getFieldValue('trackersNumWant')} />
|
||||
</div>
|
||||
<div className="form__column form__column--unlabled">
|
||||
<Checkbox
|
||||
checked={this.getFieldValue('protocolPex') === '1'}
|
||||
onChange={this.handleClientSettingCheckboxChange.bind(this, 'protocolPex')}>
|
||||
Enable Peer Exchange
|
||||
</Checkbox>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user