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