diff options
-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 |