Changeset 254 for etherws/trunk
- Timestamp:
- 10/09/13 21:02:58 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r253 r254 516 516 socket.PF_PACKET, socket.SOCK_RAW, socket.htons(self.ETH_P_ALL))) 517 517 self.device.bind((self.target, self.ETH_P_ALL)) 518 self.dprintf('connected: %s\n', lambda: self.target) 518 519 return self.join_switch() 519 520 … … 591 592 self.register_device(TunTapDevice(self.target, IFF_TAP | IFF_NO_PI)) 592 593 self.device.up() 594 self.dprintf('connected: %s\n', lambda: self.target) 593 595 return self.join_switch() 594 596
Note: See TracChangeset
for help on using the changeset viewer.