mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 03:03:27 +00:00
net/interface: use internal implementation for itoa.Uitoa
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -8,6 +8,7 @@ package net
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
"internal/itoa"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -226,7 +227,7 @@ func (zc *ipv6ZoneCache) name(index int) string {
|
|||||||
zoneCache.RUnlock()
|
zoneCache.RUnlock()
|
||||||
}
|
}
|
||||||
if !ok { // last resort
|
if !ok { // last resort
|
||||||
name = uitoa(uint(index))
|
name = itoa.Uitoa(uint(index))
|
||||||
}
|
}
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user