Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <rest-service> network : Route: Fixed passing of a DBus variant (bnc#538050).
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Thu, 10 Sep 2009 14:16:34 +0200
  • Message-id: <E1Mlid9-0000Zr-Ve@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit be0ff5729f79bdfd6dfb1235d3172820c6e5875b
Author: Martin Vidner <mvidner@xxxxxxx>
Date: Thu Sep 10 14:16:34 2009 +0200

Route: Fixed passing of a DBus variant (bnc#538050).
---
plugins/network/app/models/route.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/network/app/models/route.rb
b/plugins/network/app/models/route.rb
index af1dab6..50f13b1 100644
--- a/plugins/network/app/models/route.rb
+++ b/plugins/network/app/models/route.rb
@@ -40,7 +40,8 @@ class Route
settings = {
@id => { 'via'=>@via },
}
- YastService.Call("YaPI::NETWORK::Write",{"route" => settings})
+ vsettings = [ "a{sa{ss}}", settings ] # bnc#538050
+ YastService.Call("YaPI::NETWORK::Write",{"route" => vsettings})
# TODO success or not?
end

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages