I'm guessing that the washer/dishwasher wastes are connected into a trap underneath your sink via a multi fit connection.
I would renew the whole washer/trap unit
Here's why :-.
The trap does a great job of preventing sewage smells entering your kitchen, however, when washing machines are...