probe/internal/protocol/dhcp/dhcp_test.go

14 lines
186 B
Go
Raw Normal View History

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