[PC-BSD Commits] r19510 - pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager

svn at pcbsd.org svn at pcbsd.org
Tue Sep 25 07:46:50 PDT 2012


Author: kris
Date: 2012-09-25 14:46:50 +0000 (Tue, 25 Sep 2012)
New Revision: 19510

Modified:
   pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp
Log:

Fix a bug unsetting the static DNS



Modified: pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp	2012-09-25 14:41:43 UTC (rev 19509)
+++ pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/networkman.cpp	2012-09-25 14:46:50 UTC (rev 19510)
@@ -915,6 +915,9 @@
      Utils::setConfFileValue("/etc/dhclient.conf", "supersede domain-name-servers", "supersede domain-name-servers " + lineDNS1->text() +";");  
    else if ( lineDNS2->text() != "..." )
      Utils::setConfFileValue("/etc/dhclient.conf", "supersede domain-name-servers", "supersede domain-name-servers " + lineDNS2->text() +";");  
+   else
+     Utils::setConfFileValue("/etc/dhclient.conf", "supersede domain-name-servers", "");  
+    
 
    if ( lineSearchDomain->text().isEmpty() || ! groupDNS->isChecked() ) {
      Utils::setConfFileValue("/etc/resolv.conf", "search", "", 1);



More information about the Commits mailing list