probe/dhcp/dhcp_test.go

14 lines
184 B
Go
Raw Normal View History

2018-08-13 04:20:22 +00:00
package dhcp
import (
"testing"
)
func TestDHCP(t *testing.T) {
offer, err := doDiscover("192.168.1.201")
if err != nil {
t.Errorf("ERROR : %s", err.Error())
}
t.Log(offer)
}