It look like the plug John.
Before we bought it, the wheel arch flap had been missing a while, (Now sorted.) allowing water to contaminate the plug. I changed the DRL lens this week for a brand new one, as the pin on the old one that powered the sidelight, was long gone. There appears to be power going to the back of the male plug, (Wire probed where it enters said plug.) but it looks like the terminal inside it, is damaged/corroded, (I will post a pic later.) so no power is then going between the male and female. I am guessing this cannot be repaired?
I wondered how short the section of loom is to replace it, and is it likely to be an easy enough job of plug and play?