network/stack: Add assertion that interface is not UP when deleting.
This commit is contained in:
@@ -480,6 +480,7 @@ Interface::Interface(const char* interfaceName,
|
|||||||
Interface::~Interface()
|
Interface::~Interface()
|
||||||
{
|
{
|
||||||
TRACE("Interface %p: destructor\n", this);
|
TRACE("Interface %p: destructor\n", this);
|
||||||
|
ASSERT((flags & IFF_UP) == 0);
|
||||||
|
|
||||||
// Uninitialize the domain datalink protocols
|
// Uninitialize the domain datalink protocols
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user