Changeset 203 for etherws/trunk
- Timestamp:
- 08/02/12 00:30:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r202 r203 354 354 self._debug = debug 355 355 356 def get_target(self): 357 return self.request.remote_ip 356 @property 357 def target(self): 358 return ':'.join(str(e) for e in self.request.connection.address) 358 359 359 360 def open(self): … … 382 383 self._tap = None 383 384 384 def get_target(self): 385 @property 386 def target(self): 385 387 if self.closed: 386 388 return self._dev … … 453 455 self._options['header'] = auth 454 456 455 def get_target(self): 457 @property 458 def target(self): 456 459 return self._url 457 460 … … 632 635 'port': port.number, 633 636 'type': port.interface.IFTYPE, 634 'target': port.interface. get_target(),637 'target': port.interface.target, 635 638 'tx': port.tx, 636 639 'rx': port.rx,
Note: See TracChangeset
for help on using the changeset viewer.