[haiku-bugs] Re: [Haiku] #12399: Static network address configuration fails

  • From: "ambroff" <trac@xxxxxxxxxxxx>
  • Date: Sat, 25 Feb 2017 23:51:41 -0000

#12399: Static network address configuration fails
----------------------------------------+----------------------------
   Reporter:  kallisti5                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  high                      |  Milestone:  R1/beta1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by ambroff):

 Looks like this behavior was introduced in a change to BNetworkAddress for
 #12388. Looks like there was [https://www.freelists.org/post/haiku-commits
 /haiku-hrev50368-srckitsnetworklibnetapi-headersosnet,8 some disagreement]
 about whether or not this was a desirable change, and I'm inclined to
 agree.

 For the Network app in particular, fixing this either requires short
 circuiting the hostname lookup in BNetworkAddress, or, the option that i
 prefer, eliminate it entirely.

 I'm new to Haiku as of like two days ago so I'm still reading through the
 source code, but I don't think it would be unreasonable to add an
 additional abstraction that can be used by whatever currently requires
 BNetworkAddress::fHostName. I have a lot of code to read before I really
 understand what's going on.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12399#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: