aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ipaddr.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-21 02:18:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-21 02:18:44 +0000
commitcd64f82375102b52345349eb2d8b8fd44ef61268 (patch)
tree25e192d184e09785bf97bb8d8322186b0ff49798 /lib/ipaddr.rb
parent4f8e2a1e47776ebe83615853ecbcff2888ff9497 (diff)
downloadruby-cd64f82375102b52345349eb2d8b8fd44ef61268.tar.gz
ipaddr: fix typo [ci skip]
* lib/ipaddr.rb: [DOC] fix documentation of IN6MASK to mention IPv6. [Fix GH-1349] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/ipaddr.rb')
-rw-r--r--lib/ipaddr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipaddr.rb b/lib/ipaddr.rb
index 64d2a8162d..458be58577 100644
--- a/lib/ipaddr.rb
+++ b/lib/ipaddr.rb
@@ -43,7 +43,7 @@ class IPAddr
# 32 bit mask for IPv4
IN4MASK = 0xffffffff
- # 128 bit mask for IPv4
+ # 128 bit mask for IPv6
IN6MASK = 0xffffffffffffffffffffffffffffffff
# Format string for IPv6
IN6FORMAT = (["%.4x"] * 8).join(':')