diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 16:31:01 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 16:31:01 +0000 |
commit | 011bcd47b42a83406c016af8b97989bc4a6a1f4c (patch) | |
tree | 45d56bb09288c0825e2ad0f0da5a7e72b1d9988f /ext/socket/mkconstants.rb | |
parent | 205cc6c068ae48f1ec9d7f78c0c228f70855ab97 (diff) |
* ext/socket/mkconstants.rb: add IF_NAMESIZE.
add a default for INET6_ADDRSTRLEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r-- | ext/socket/mkconstants.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 9153587cd7..fdbf3d12bb 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -677,9 +677,10 @@ IPV6_RECVPATHMTU IPV6_TCLASS IPV6_USE_MIN_MTU -INET_ADDRSTRLEN 16 -INET6_ADDRSTRLEN +INET_ADDRSTRLEN 16 +INET6_ADDRSTRLEN 46 IFNAMSIZ +IF_NAMESIZE SOMAXCONN |