Changeset 254


Ignore:
Timestamp:
10/09/13 21:02:58 (11 years ago)
Author:
atzm
Message:

add debug message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • etherws/trunk/etherws.py

    r253 r254  
    516516            socket.PF_PACKET, socket.SOCK_RAW, socket.htons(self.ETH_P_ALL))) 
    517517        self.device.bind((self.target, self.ETH_P_ALL)) 
     518        self.dprintf('connected: %s\n', lambda: self.target) 
    518519        return self.join_switch() 
    519520 
     
    591592        self.register_device(TunTapDevice(self.target, IFF_TAP | IFF_NO_PI)) 
    592593        self.device.up() 
     594        self.dprintf('connected: %s\n', lambda: self.target) 
    593595        return self.join_switch() 
    594596 
Note: See TracChangeset for help on using the changeset viewer.