summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Natko <martonnatko@Martons-MacBook-Pro.local>2016-10-26 10:42:56 +0200
committerMarton Natko <martonnatko@Martons-MacBook-Pro.local>2016-10-26 10:53:14 +0200
commit742ed340d7b6327c9577834c6ccaa48f7c959292 (patch)
tree56453e9c0169bee9fcf7647cca3ad63c46144825
parent81d291169b3e5f85c611600bdc240572372c288d (diff)
downloadohai-742ed340d7b6327c9577834c6ccaa48f7c959292.tar.gz
even more typos
Signed-off-by: Marton Natko <marton.natko@gmail.com>
-rw-r--r--lib/ohai/plugins/ip_scopes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/ip_scopes.rb b/lib/ohai/plugins/ip_scopes.rb
index 045e7897..188d8fd0 100644
--- a/lib/ohai/plugins/ip_scopes.rb
+++ b/lib/ohai/plugins/ip_scopes.rb
@@ -32,7 +32,7 @@ Ohai.plugin(:IpScopes) do
begin
attrs["ip_scope"] = address.to_ip.scope
- if private_addr?(address) && !tunnel_iface?(interface) && !ppp_iface(interface) && !docker_iface(interface)
+ if private_addr?(address) && !tunel_iface?(interface) && !ppp_iface?(interface) && !docker_iface?(interface)
privateaddress(address)
end
rescue ArgumentError