Properly detect which interfaces to monitor