[haiku-bugs] Re: [Haiku] #5634: [net_server] after r35941 all entries in resolv.conf apears twice

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Mar 2010 12:37:26 -0000

#5634: [net_server] after r35941 all entries in resolv.conf apears twice
---------------------------------+------------------------------------------
  Reporter:  diver               |       Owner:  axeld         
      Type:  bug                 |      Status:  closed        
  Priority:  normal              |   Milestone:  R1            
 Component:  Servers/net_server  |     Version:  R1/Development
Resolution:  fixed               |    Keywords:                
 Blockedby:                      |    Platform:  All           
  Blocking:                      |  
---------------------------------+------------------------------------------

Comment(by axeld):

 Since you may get more DHCP_OFFERs than one (although this usually hints
 to a broken environment configuration), you would usually parse those to
 know if it satisfies your needs.

 Once you got such an offer, you request binding from that server, and will
 then receive the DHCP_ACK which contains your final and complete
 configuration. So it would indeed make sense to move filling
 fConfiguration to DHCP_ACK.

 The resolv.conf file should actually not be touched by the DHCP code -
 that's just a hack. Instead, the net_server should handle this when it
 receives the configuration request.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5634#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: