Skip to content

Commit

Permalink
log -> local logging instance
Browse files Browse the repository at this point in the history
  • Loading branch information
imgurbot12 committed Jan 20, 2018
1 parent 207e4b9 commit 7dd82dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (q *NetFilterQueue) start() {
if err != nil {
log.Fatalf("NFQueue %d Error: %s\n", q.QueueNum, err.Error())
}
log.Printf(`
q.Logger.Printf(`
|\ /)
/\_\\__ (_//
Expand All @@ -59,8 +59,8 @@ func (q *NetFilterQueue) start() {
|/ \\
`)
log.Printf("NFQueue: %d, Initalized!", q.QueueNum)
log.Printf("Workers Starting... DONE!")
q.Logger.Printf("NFQueue: %d, Initalized!", q.QueueNum)
q.Logger.Printf("Workers Starting... DONE!")
// set packet queue and started boolean
q.pktQueue = q.nfq.GetPackets()
// spawn workerpool
Expand Down

0 comments on commit 7dd82dc

Please sign in to comment.