mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 14:38:29 +03:00
minor
This commit is contained in:
parent
c47577b015
commit
4405b619d3
1 changed files with 3 additions and 3 deletions
|
@ -202,7 +202,7 @@ func (s *V6Server) packetHandler(conn net.PacketConn, peer net.Addr, req dhcpv6.
|
|||
dhcpv6.MessageTypeRebind:
|
||||
|
||||
if sid != nil {
|
||||
log.Debug("DHCPv6: drop packet: ServerID option in message %s", msg.Type().String)
|
||||
log.Debug("DHCPv6: drop packet: ServerID option in message %s", msg.Type().String())
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -212,12 +212,12 @@ func (s *V6Server) packetHandler(conn net.PacketConn, peer net.Addr, req dhcpv6.
|
|||
dhcpv6.MessageTypeDecline:
|
||||
|
||||
if sid == nil {
|
||||
log.Debug("DHCPv6: drop packet: no ServerID option in message %s", msg.Type().String)
|
||||
log.Debug("DHCPv6: drop packet: no ServerID option in message %s", msg.Type().String())
|
||||
return
|
||||
}
|
||||
if !sid.Equal(s.conf.sid) {
|
||||
log.Debug("DHCPv6: drop packet: mismatched ServerID option in message %s: %s",
|
||||
msg.Type().String, sid.String())
|
||||
msg.Type().String(), sid.String())
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue