Skip to content

Commit

Permalink
v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zaftzaft committed Aug 15, 2017
1 parent 9e68102 commit f4ba7d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DHCP Request catcher
https://github.com/zaftzaft/dcatch/releases

# Usage
```bash
```console
$ sudo dcatch
192.168.0.30 Raspberry Pi Foundation[b8:27:eb:ff:ff:ff]@raspberry
```
Expand Down
4 changes: 3 additions & 1 deletion dcatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"
)

var version = "0.0.2"
var version = "0.0.3"

func main() {
var device string
Expand Down Expand Up @@ -48,6 +48,8 @@ func main() {

defer handle.Close()

fmt.Printf("dcatch v%s: listening on %s\n", version, device)

packetSource := gopacket.NewPacketSource(handle, handle.LinkType())
for packet := range packetSource.Packets() {
var (
Expand Down

0 comments on commit f4ba7d8

Please sign in to comment.