Now restoring the promiscuous state of the interface when the appliance terminates
This commit is contained in:
parent
4f11b9a4f0
commit
5c56cd3a6d
@ -66,7 +66,7 @@ iface::~iface()
|
|||||||
allmulti(_prev_allmulti);
|
allmulti(_prev_allmulti);
|
||||||
}
|
}
|
||||||
if (_prev_promiscuous >= 0) {
|
if (_prev_promiscuous >= 0) {
|
||||||
allmulti(_prev_promiscuous);
|
promiscuous(_prev_promiscuous);
|
||||||
}
|
}
|
||||||
close(_pfd);
|
close(_pfd);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user