Overrides previous patch, which set nic_info to be a Hash rather than an Array.
Darryl L. Pierce
2009-Apr-21 14:57 UTC
[Ovirt-devel] [PATCH server] Makes host-browser tolerant of a node that reports no NICs.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- src/host-browser/host-browser.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/host-browser/host-browser.rb b/src/host-browser/host-browser.rb index 945b1d2..13b2ac4 100755 --- a/src/host-browser/host-browser.rb +++ b/src/host-browser/host-browser.rb @@ -85,6 +85,7 @@ class HostBrowser result = Hash.new result['HOSTNAME'] = @session.peeraddr[2] result['IPADDR'] = @session.peeraddr[3] + result['NICINFO'] = Array.new @session.write("INFO?\n") -- 1.6.0.6