diff options
author | Tim Smith <tsmith@chef.io> | 2020-11-17 18:00:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 18:00:19 -0800 |
commit | 1b5e59e33d97540e52c06a3e40f09d7fb69234b7 (patch) | |
tree | f42607ff6a393bc898fc9ea496b45ee6bf855512 /lib | |
parent | d638c0fac60cffd3dd21f08c2d6587ab4c835f4a (diff) | |
download | ohai-1b5e59e33d97540e52c06a3e40f09d7fb69234b7.tar.gz |
Update lib/ohai/plugins/aix/network.rb
Signed-off-by: Tim Smith <tsmith@chef.io>
Co-authored-by: pete higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ohai/plugins/aix/network.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/network.rb b/lib/ohai/plugins/aix/network.rb index 93851631..c1035cb4 100644 --- a/lib/ohai/plugins/aix/network.rb +++ b/lib/ohai/plugins/aix/network.rb @@ -51,7 +51,7 @@ Ohai.plugin(:Network) do .stdout .each_line .detect { |l| l.start_with?("default") } - .split(" ") + .split network[:default_gateway] = default_line[1] network[:default_interface] = default_line[5] end |