output string version of scope6

This commit is contained in:
Doug MacEachern 2009-07-29 16:08:48 -07:00
parent 6d35ab65b3
commit f55e619bcd
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ iflist.each do |ifname|
if ifconfig.prefix6_length != 0 if ifconfig.prefix6_length != 0
puts "\t" + "inet6 addr: " + ifconfig.address6 + "/" + puts "\t" + "inet6 addr: " + ifconfig.address6 + "/" +
ifconfig.prefix6_length.to_s + " Scope:" + ifconfig.scope6.to_s ifconfig.prefix6_length.to_s + " Scope:" + Sigar.net_scope_to_s(ifconfig.scope6)
end end
puts "\t" + puts "\t" +