Better implementation of listenICMP() switching between excluding and non-excluding modes