lib/linux_admin/network_interface.rb
def prefix6(scope = :global)
      if [:global, :link].include?(scope)
        @network_conf["prefix6_#{scope}".to_sym]
      else
        raise ArgumentError, "Unrecognized address scope #{scope}"
      end
    end
# Retrieve the IPv6 sub-net prefix length assigned to the interface
#
# @return [Numeric] IPv6 prefix length
Retrieve the IPv6 sub-net prefix length assigned to the interface
Retrieve the IPv6 sub - net prefix length assigned to the interface
def prefix6(scope = :global)
      if [:global, :link].include?(scope)
        @network_conf["prefix6_#{scope}".to_sym]
      else
        raise ArgumentError, "Unrecognized address scope #{scope}"
      end
    end
def prefix6 ( scope = :global ) if [ :global , :link ] . include? ( scope ) @network_conf [ "prefix6_#{scope}" . to_sym ] else raise ArgumentError , "Unrecognized address scope #{scope}" end end
Retrieve the IPv6 sub-net prefix length assigned to the interface
Retrieve the IPv6 sub - net prefix length assigned to the interface
IPv6 prefix length
IPv6 prefix length
Numeric
scope