Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

fix panic when interface up but hasn't got dhcp address yet #16

Open
robphoenix opened this issue May 10, 2017 · 0 comments
Open

fix panic when interface up but hasn't got dhcp address yet #16

robphoenix opened this issue May 10, 2017 · 0 comments

Comments

@robphoenix
Copy link
Owner

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x402fd7]

goroutine 1 [running]:
panic(0x624da0, 0xc42000c130)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
main.New(0x7, 0x5dc, 0xc42007cfe0, 0xf, 0xc4200f3014, 0x6, 0x8ec, 0x13, 0xc4200742a0, 0x0, ...)
	/home/rob/code/go/src/github.com/robphoenix/trawl/trawl.go:45 +0x1d7
main.main()
	/home/rob/code/go/src/github.com/robphoenix/trawl/main.go:141 +0x76f
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant