Fix a typo in a comment.
Change-Id: I17cbd20ffb6906d108544ab58c8a0e5fb75ff0ac
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -39,7 +39,7 @@ public final class Ip4PrefixSerializer extends Serializer<Ip4Prefix> { | ... | @@ -39,7 +39,7 @@ public final class Ip4PrefixSerializer extends Serializer<Ip4Prefix> { |
39 | public void write(Kryo kryo, Output output, | 39 | public void write(Kryo kryo, Output output, |
40 | Ip4Prefix object) { | 40 | Ip4Prefix object) { |
41 | byte[] octs = object.address().toOctets(); | 41 | byte[] octs = object.address().toOctets(); |
42 | - // It is always Ip6Address.BYTE_LENGTH | 42 | + // It is always Ip4Address.BYTE_LENGTH |
43 | output.writeInt(octs.length); | 43 | output.writeInt(octs.length); |
44 | output.writeBytes(octs); | 44 | output.writeBytes(octs); |
45 | output.writeInt(object.prefixLength()); | 45 | output.writeInt(object.prefixLength()); | ... | ... |
-
Please register or login to post a comment