Made "missing attribute" message more informative.
This commit is contained in:
@@ -187,7 +187,7 @@ module Netlink
|
|||||||
warn "Duplicate attribute #{name} (#{code}): #{attrs[name].inspect} -> #{val.inspect}" if attrs[name]
|
warn "Duplicate attribute #{name} (#{code}): #{attrs[name].inspect} -> #{val.inspect}" if attrs[name]
|
||||||
attrs[name] = val
|
attrs[name] = val
|
||||||
else
|
else
|
||||||
warn "Unknown attribute #{code}, value #{val.inspect}"
|
warn "Unknown attribute #{code}, in class #{self}, value #{val.inspect}"
|
||||||
attrs[code] = val
|
attrs[code] = val
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user