14 lines
184 B
Go
14 lines
184 B
Go
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)
|
|
}
|