This commit is contained in:
crusader 2018-09-12 15:49:30 +09:00
parent 1bfb6d1882
commit b3ca7d56a5

View File

@ -82,29 +82,29 @@ export class HomePageComponent implements OnInit, OnDestroy {
} }
startDiscovery() { startDiscovery() {
this.zone = { // this.zone = {
network: '192.168.1.0/24', // network: '192.168.1.0/24',
iface: 'enp3s0', // iface: 'enp3s0',
metaIPType: toMetaIPType(MetaIPTypeEnum.V4), // metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
address: '192.168.1.101', // address: '192.168.1.101',
mac: '44:8a:5b:f1:f1:f3', // mac: '44:8a:5b:f1:f1:f3',
}; // };
this.discoverHost = { // this.discoverHost = {
metaIPType: toMetaIPType(MetaIPTypeEnum.V4), // metaIPType: toMetaIPType(MetaIPTypeEnum.V4),
firstScanRange: '192.168.1.1', // firstScanRange: '192.168.1.1',
lastScanRange: '192.168.1.254', // lastScanRange: '192.168.1.254',
discoveryConfig: { // discoveryConfig: {
}, // },
discoverPort: { // discoverPort: {
firstScanRange: 1, // firstScanRange: 1,
lastScanRange: 65535, // lastScanRange: 65535,
includeTCP: true, // includeTCP: true,
includeUDP: true, // includeUDP: true,
discoverService: { // discoverService: {
} // }
} // }
}; // };
console.log('########################################################'); console.log('########################################################');
console.log(this.zone); console.log(this.zone);