Move NETLINK_ROUTE user objects under Netlink::Route

This commit is contained in:
Brian Candler
2011-05-01 09:29:02 +01:00
parent b39ff5da76
commit aefd94093c
3 changed files with 144 additions and 142 deletions

View File

@@ -8,7 +8,7 @@ require 'netlink/route'
# The data is memoized - that is, it's downloaded from the kernel once
# and then manipulated internally.
nl = Netlink::RTSocket.new
nl = Netlink::Route::Socket.new
pp nl.link["eth0"]
pp nl.addrs["eth0"]