class Specinfra::Command::Freebsd::Base::RoutingTable

Public Class Methods

check_has_entry(destination) click to toggle source
# File lib/specinfra/command/freebsd/base/routing_table.rb, line 3
def check_has_entry(destination)
  %Q{netstat -rnW | grep #{destination} | awk '{print $1, "via", $2, "dev", $7, " "}'}
end
Also aliased as: get_entry
get_entry(destination)
Alias for: check_has_entry