ref: refs/heads/jr_ntp
commit be0ff5729f79bdfd6dfb1235d3172820c6e5875b
Author: Martin Vidner
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@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org