def run(self): # Start up each hello pkt sender #for i in range(0, MAX_INTF): # Start up hello senders for each port except 1 # if(i == 0): # continue # else: # self._helloSenderList[i].start() self.pwospfIntf.startIntfSenders() sniff(iface=self.iface, prn=self.handlePkt, stop_event=self.stop_event)
def runSniff(self): sniff(iface=self.iface, prn=self.handlePkt, stop_event=self.stop_event)