Allow CStructs to be created with nil members

This commit is contained in:
Brian Candler
2011-05-03 16:05:24 +01:00
parent 3f4c6c7235
commit 9d920ce4e8
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ module Netlink
end
# Convert an interface index into name string, or nil if the
# index is nil or empty string. Raises exception for unknown values.
# index is nil or 0. Raises exception for unknown values.
#
# nl = Netlink::Route::Socket.new
# nl.routes(:family=>Socket::AF_INET) do |route|