use sigar_net_interface_flags_to_string
This commit is contained in:
1 parent
a919d9457f
commit
315910c638
2 files changed
+9
-1
No files matched your search
@@ -17,7 +17,7 @@ iflist.each do |ifname|
|
||||
ptp + bcast + " Mask:" + ifconfig.netmask
|
||||
|
||||
puts "\t" +
|
||||
flags.to_s + #XXX
|
||||
Sigar.net_interface_flags_to_s(flags) +
|
||||
" MTU:" + ifconfig.mtu.to_s +
|
||||
" Metric:" + ifconfig.metric.to_s
|
||||
|
||||
|
||||
Reference in new issue
Block a user