mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
b3901a20a4
commit
4458026d85
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat May 21 11:18:42 2016 Evgeni Golov <evgeni@golov.de>
|
||||
|
||||
* lib/ipaddr.rb: [DOC] fix documentation of IN6MASK to mention
|
||||
IPv6. [Fix GH-1349]
|
||||
|
||||
Sat May 21 11:12:53 2016 Dan Martinez <dfm@razorwind.org>
|
||||
|
||||
* io.c (Init_IO): [DOC] define dummy ARGF instead of ARGF.class to
|
||||
|
|
|
@ -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(':')
|
||||
|
|
Loading…
Reference in a new issue