Skip to content

Commit

Permalink
support LinkTypeLinuxSSL fixes #310
Browse files Browse the repository at this point in the history
  • Loading branch information
joekiller committed Jun 20, 2016
1 parent 2c49556 commit 6f48b54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions raw_socket_listener/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ func (t *Listener) readPcap() {
data = packet.Data()[14:]
} else if decoder == layers.LinkTypeNull || decoder == layers.LinkTypeLoop {
data = packet.Data()[4:]
} else if decoder == layers.LinkTypeLinuxSLL {
data = packet.Data()[16:]
} else {
log.Println("Unknown packet layer", packet)
break
Expand Down

0 comments on commit 6f48b54

Please sign in to comment.