dhcp6: notify radvd when obtaining a lease
Otherwise, no networks are announced
This commit is contained in:
parent
a1c4d60666
commit
48fcf2d0ea
@ -54,6 +54,9 @@ func logic() error {
|
||||
if err := notify.Process("/user/netconfi", syscall.SIGUSR1); err != nil {
|
||||
log.Printf("notifying netconfig: %v", err)
|
||||
}
|
||||
if err := notify.Process("/user/radvd", syscall.SIGUSR1); err != nil {
|
||||
log.Printf("notifying radvd: %v", err)
|
||||
}
|
||||
select {
|
||||
case <-time.After(time.Until(c.Config().RenewAfter)):
|
||||
// fallthrough and renew the DHCP lease
|
||||
|
Loading…
x
Reference in New Issue
Block a user