diff --git a/media/mtransport/nricectx.cpp b/media/mtransport/nricectx.cpp index 781865b64ab..281ffdf9479 100644 --- a/media/mtransport/nricectx.cpp +++ b/media/mtransport/nricectx.cpp @@ -542,10 +542,9 @@ RefPtr NrIceCtx::Create(const std::string& name, } } - MOZ_MTLOG(ML_DEBUG, "NAT filtering type: " << filtering_type); - MOZ_MTLOG(ML_DEBUG, "NAT mapping type: " << mapping_type); - if (mapping_type && filtering_type) { + MOZ_MTLOG(ML_DEBUG, "NAT filtering type: " << filtering_type); + MOZ_MTLOG(ML_DEBUG, "NAT mapping type: " << mapping_type); TestNat* test_nat = new TestNat; test_nat->filtering_type_ = TestNat::ToNatBehavior(filtering_type); test_nat->mapping_type_ = TestNat::ToNatBehavior(mapping_type);