Dispatch should ignore non-ip frames

This commit is contained in:
pi-rho 2013-03-03 11:45:39 -06:00
parent 31982a2b8e
commit 06b5940d02
1 changed files with 7 additions and 6 deletions

View File

@ -531,6 +531,7 @@ class Dispatch(object):
if not self.last: if not self.last:
self.last = (filename, pos) self.last = (filename, pos)
frame = Frame(f, pc.linktype) frame = Frame(f, pc.linktype)
if frame.protocol:
if frame.hash not in self.sessions: if frame.hash not in self.sessions:
self.sessions[frame.hash] = self._get_sequencer(frame.protocol) self.sessions[frame.hash] = self._get_sequencer(frame.protocol)
ret = self.sessions[frame.hash].handle(frame) ret = self.sessions[frame.hash].handle(frame)