Now restoring the promiscuous state of the interface when the appliance terminates

This commit is contained in:
John Sharratt 2017-07-02 12:11:30 +02:00
parent 4f11b9a4f0
commit 5c56cd3a6d

View File

@ -66,7 +66,7 @@ iface::~iface()
allmulti(_prev_allmulti);
}
if (_prev_promiscuous >= 0) {
allmulti(_prev_promiscuous);
promiscuous(_prev_promiscuous);
}
close(_pfd);
}