net/netcheck: add missing comment asked for in earlier code review

This commit is contained in:
Brad Fitzpatrick 2020-07-08 15:26:56 -07:00
parent 3984f9be2f
commit ecf5d69c7c

View File

@ -673,7 +673,11 @@ func (rs *reportState) probePortMapServices() {
}
if n == 60 && res[0] == 0x02 { // right length and version 2
rs.setOptBool(&rs.report.PCP, true)
// Delete the mapping.
// And now delete the mapping.
// (PCP is the only protocol of the three that requires
// we cause a side effect to detect whether it's present,
// so we need to redo that side effect now.)
uc.WriteTo(pcpPacket(myIP, tempPort, true), port5351)
}
}