mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
network/stack: Add assertion that interface is not UP when deleting.
This commit is contained in:
parent
c8958f4e0c
commit
91f94b828f
@ -480,6 +480,7 @@ Interface::Interface(const char* interfaceName,
|
||||
Interface::~Interface()
|
||||
{
|
||||
TRACE("Interface %p: destructor\n", this);
|
||||
ASSERT((flags & IFF_UP) == 0);
|
||||
|
||||
// Uninitialize the domain datalink protocols
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user