* It was not possible anymore to remove any flags.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-12-28 22:13:19 +00:00
parent 9d17b26a56
commit 74ff314b2f

View File

@ -252,8 +252,11 @@ domain_interface_control(net_domain_private *domain, int32 option,
}
}
if (status == B_OK)
if (status == B_OK) {
// TODO: why shouldn't we able to delete IFF_BROADCAST?
interface->flags &= IFF_UP | IFF_LINK | IFF_BROADCAST;
interface->flags |= request->ifr_flags;
}
break;
}
}