From e42d538e76cbbfc5fa8497c4d8af0a74eced9b9a Mon Sep 17 00:00:00 2001 From: David Gethings Date: Mon, 25 Jan 2016 12:23:28 +0900 Subject: [PATCH] Updating Netconf::Transport#rpc_exec to return all child elements QFabric "show system core-dumps" returns 2 child elements. Existing Netconf::Transport#rpc_exec only returned the first --- lib/net/netconf/transport.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/netconf/transport.rb b/lib/net/netconf/transport.rb index 78c221f..1c25b35 100644 --- a/lib/net/netconf/transport.rb +++ b/lib/net/netconf/transport.rb @@ -147,7 +147,7 @@ def rpc_exec( cmd_nx ) # @@@/JLS: might this be ? isn't for Junos, but need to check # @@@/JLS: the generic case. - rsp_nx.first_element_child + rsp_nx.element_children end