inlet/core: fix function name in comment

This commit is contained in:
Vincent Bernat
2023-05-28 08:51:01 +02:00
parent bc799dad41
commit 1c56fd1505

View File

@@ -157,7 +157,7 @@ func (c *Component) getASNumber(flowAddr netip.Addr, flowAS, bmpAS uint32) (asn
return asn
}
// getPfxLen retrieves the prefix length for a flow, depending on user preferences.
// getNetMask retrieves the prefix length for a flow, depending on user preferences.
func (c *Component) getNetMask(flowMask, bmpMask uint8) (mask uint8) {
for _, provider := range c.config.NetProviders {
if mask != 0 {