Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <web-client> basesystem : DNS in REST has been fixed*, use it.
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Fri, 4 Sep 2009 10:01:22 +0200
  • Message-id: <E1Mlexo-0003tf-4K@xxxxxxxxxxxxxxxx>
ref: refs/heads/basesystem
commit b5a2535486ca4cef14cbf7908fc59fd64668e2a6
Author: Martin Vidner <mvidner@xxxxxxx>
Date: Fri Sep 4 10:01:22 2009 +0200

DNS in REST has been fixed*, use it.

*
http://git.opensuse.org/?p=projects/yast/rest-service.git;a=commit;h=a1bff3449377c85610662c7a9ec8e8dec6432a29
---
.../network/app/controllers/network_controller.rb | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/plugins/network/app/controllers/network_controller.rb
b/plugins/network/app/controllers/network_controller.rb
index 6626bba..acfa187 100644
--- a/plugins/network/app/controllers/network_controller.rb
+++ b/plugins/network/app/controllers/network_controller.rb
@@ -53,10 +53,8 @@ class NetworkController < ApplicationController

@name = hn.name
@domain = hn.domain
- # @nameservers = dns.dnsservers
- # @searchdomains = dns.dnsdomains
- @nameservers = ["fake-ns1", "fake-ns2"]
- @searchdomains = ["fake-d1", "fake-d2"]
+ @nameservers = dns.nameservers
+ @searchdomains = dns.searches

@default_route = rt.via
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