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.101")
|
|
if err != nil {
|
|
t.Errorf("ERROR : %s", err.Error())
|
|
}
|
|
t.Log(offer)
|
|
}
|