I won't be bothered with it or I'll accept it as part of being in the house.
I'm not a dog owner so I have no understanding of how hard it is to train a dog to not sniff the crotch of strangers or whatever. With that in mind, I'll forgive them. Those dog owners usually seem so embarrassed that I won't add to their shame by privately shaming them.