Sha256: 02ca376bc35c8a3338dedc57943204789d5b9cb41d0f92bb16512178043a0c48

Contents?: true

Size: 296 Bytes

Versions: 85

Compression:

Stored size: 296 Bytes

Contents

class Specinfra::Command::Freebsd::Base::RoutingTable < Specinfra::Command::Base::RoutingTable
  class << self
    def check_has_entry(destination)
      %Q{netstat -rnW | grep #{destination} | awk '{print $1, "via", $2, "dev", $6, " "}'}
    end

    alias :get_entry :check_has_entry
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
specinfra-2.70.2 lib/specinfra/command/freebsd/base/routing_table.rb
specinfra-2.70.1 lib/specinfra/command/freebsd/base/routing_table.rb
specinfra-2.70.0 lib/specinfra/command/freebsd/base/routing_table.rb
specinfra-2.69.0 lib/specinfra/command/freebsd/base/routing_table.rb
specinfra-2.68.2 lib/specinfra/command/freebsd/base/routing_table.rb