14 lines
186 B
Go
14 lines
186 B
Go
package dhcp
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDHCP(t *testing.T) {
|
|
offer, err := doDiscoverV4("192.168.1.203")
|
|
if err != nil {
|
|
t.Errorf("ERROR : %s", err.Error())
|
|
}
|
|
t.Log(offer)
|
|
}
|