Skip to content

Commit

Permalink
Merge pull request #1 from suedadam/master
Browse files Browse the repository at this point in the history
Fixed bugs
  • Loading branch information
tomsteele committed Dec 5, 2014
2 parents e57e27d + 09796b1 commit c46c989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"encoding/json"
"fmt"
"github.com/docopt/docopt.go"
"github.com/docopt/docopt-go"
"github.com/miekg/pcap"
"github.com/tomsteele/cookiescan/result"
"log"
Expand Down Expand Up @@ -60,7 +60,7 @@ func main() {
}
if device == "" {
devs, err := pcap.FindAllDevs()
if err != "" {
if err != nil {
log.Fatal("Error finding interfaces. Error: ", err)
}
if len(devs) == 0 {
Expand Down

0 comments on commit c46c989

Please sign in to comment.