* As Atis pointed out, the SIOCSIFNETMASK here didn't make any sense, must have

been a copy&paste error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38001 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-08-10 10:31:22 +00:00
parent e7d5c75dce
commit 1ebd87f4e7

View File

@ -1206,7 +1206,7 @@ update_interface_address(InterfaceAddress* interfaceAddress, int32 option,
if (status == B_OK) {
sockaddr* address = *_address;
if (option == SIOCSIFADDR || option == SIOCSIFNETMASK) {
if (option == SIOCSIFADDR) {
// Reset netmask and broadcast addresses to defaults
net_domain* domain = interfaceAddress->domain;
sockaddr* netmask = NULL;