all: fix spelling mistakes
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
e73657d7aa
commit
d4811f11a0
@ -92,7 +92,7 @@ func mustPrefix(s string) netip.Prefix {
|
||||
func NewInternet() *Network {
|
||||
return &Network{
|
||||
Name: "internet",
|
||||
// easily recognizable internett-y addresses
|
||||
// easily recognizable internetty addresses
|
||||
Prefix4: mustPrefix("1.0.0.0/24"),
|
||||
Prefix6: mustPrefix("1111::/64"),
|
||||
}
|
||||
@ -243,7 +243,7 @@ func (f *Interface) String() string {
|
||||
if f.name != "" {
|
||||
return f.name
|
||||
}
|
||||
return fmt.Sprintf("unamed-interface-on-network-%p", f.net)
|
||||
return fmt.Sprintf("unnamed-interface-on-network-%p", f.net)
|
||||
}
|
||||
|
||||
// Contains reports whether f contains ip as an IP.
|
||||
|
Reference in New Issue
Block a user