In
c22c3541 we arranged to honour our local configured name for the
peer even if the peer initiated the key setup. Previously we used the
address on the incoming packets.
However, this change can break some half-broken configurations, which
would otherwise mostly work. Some of these configurations may even be
deliberate, as a kind of poor version of the mobile site feature.
But, if we are a mobile site it is very unlikely that we have a broken
name or address (or at least, if we do, that things would work well).
So, for now, restrict this new behaviour to the situation where we are
mobile.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>