lib/ohai/plugins/sigar/network.rb
# sigar-only, from network_route plugin
sigar-only, from network_route plugin
sigar - only from network_route plugin
def flags(flags)
    f = ""
    if (flags & Sigar::RTF_UP) != 0
      f += "U"
    end
    if (flags & Sigar::RTF_GATEWAY) != 0
      f += "G"
    end
    if (flags & Sigar::RTF_HOST) != 0
      f += "H"
    end
    f
  end
def flags ( flags ) f = "" if ( flags & Sigar :: RTF_UP ) != 0 f += "U" end if ( flags & Sigar :: RTF_GATEWAY ) != 0 f += "G" end if ( flags & Sigar :: RTF_HOST ) != 0 f += "H" end f end
sigar-only, from network_route plugin
sigar - only from network_route plugin
flags
<not_specific>