dhcp6: add missing err parameter

This commit is contained in:
Michael Stapelberg 2018-07-14 15:17:12 +02:00
parent 8da684cc8f
commit 9131e7a99c

View File

@ -41,7 +41,7 @@ func logic() error {
duid, err := ioutil.ReadFile("/perm/dhcp6/duid") duid, err := ioutil.ReadFile("/perm/dhcp6/duid")
if err != nil { if err != nil {
log.Printf("could not read /perm/dhcp6/duid (%v), proceeding with DUID-LLT") log.Printf("could not read /perm/dhcp6/duid (%v), proceeding with DUID-LLT", err)
} }
c, err := dhcp6.NewClient(dhcp6.ClientConfig{ c, err := dhcp6.NewClient(dhcp6.ClientConfig{