chiark / gitweb /
Mobile sites: Require specification of whether we think we are mobile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Jul 2011 16:36:30 +0000 (17:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Aug 2011 22:14:54 +0000 (23:14 +0100)
commitdba19f848cfefc8af7e6067ca8713c3236610753
treeb9f87203062f788995a884a020e6f97bf1f1a2f2
parent446353cd8ce62c2feecafb91e7a6cbe97aaa8914
Mobile sites: Require specification of whether we think we are mobile

We introduce a new config option "local-mobile" which must match our
peers' idea of whether we are mobile.  This is cross-checked with the
"site" entry for our own site, if there is one, to detect mistakes.

We do not transfer this data in the protocol because we don't want to
break compatibility with older secnets which do not understand mobile
peers at all.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README
site.c