summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaelSp <MichaelSp@users.noreply.github.com>2015-07-09 16:06:36 +0200
committerMichaelSp <MichaelSp@users.noreply.github.com>2015-07-09 16:06:36 +0200
commitba5f240b717d11e34c1d0dfbd0e4b1807ecfb968 (patch)
treeca824a3339a428afc1cae0d38eb62444fcb8dfe8
parentfd0f557b5180fbefd0dc75b8f43169a5c1485f26 (diff)
downloadohai-ba5f240b717d11e34c1d0dfbd0e4b1807ecfb968.tar.gz
move halfway back and stay there
sacrifice consistency on the altars of green tests.
-rw-r--r--lib/ohai/plugins/linux/network.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ohai/plugins/linux/network.rb b/lib/ohai/plugins/linux/network.rb
index dc27749a..51eff9dd 100644
--- a/lib/ohai/plugins/linux/network.rb
+++ b/lib/ohai/plugins/linux/network.rb
@@ -303,14 +303,14 @@ Ohai.plugin(:Network) do
:name => "inet",
:default_route => "0.0.0.0/0",
:default_prefix => :default,
- :neighbor_attribute => :arp
+ :neighbour_attribute => :arp
}]
families << {
:name => "inet6",
:default_route => "::/0",
:default_prefix => :default_inet6,
- :neighbor_attribute => :neighbor_inet6
+ :neighbour_attribute => :neighbour_inet6
} if ipv6_enabled?
parse_ip_addr(iface)
@@ -318,7 +318,7 @@ Ohai.plugin(:Network) do
iface = link_statistics(iface, net_counters)
families.each do |family|
- neigh_attr = family[:neighbor_attribute]
+ neigh_attr = family[:neighbour_attribute]
default_prefix = family[:default_prefix]
iface = extract_neighbors(family, iface, neigh_attr)