Opened 9 years ago
Closed 9 years ago
#12245 closed bug (duplicate)
BNetworkAddress IsEmpty true when SetTo is run with IPv6 address
Reported by: | kallisti5 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Network Kit | Version: | R1/Development |
Keywords: | ipv6 bunittest bnetlib | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
BNetworkAddress address; ASSERT_TRUE(address.IsEmpty()); address.SetTo("::1"); ASSERT_FALSE(address.IsEmpty()); // Test unit fail
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
SetTo returns an error code, what is it? (if you are writing unit tests, they should check that it is B_OK and print the value if it is not, so we know what to look for in the code).
comment:4 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I should mention that this also fails: