mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
inlet/core: fix function name in comment
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user