ignore indirect edge registrations in tunnelserver mode
authorMichael Tokarev <mjt@corpit.ru>
Thu, 21 May 2009 21:01:35 +0000 (01:01 +0400)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 21 May 2009 22:43:48 +0000 (00:43 +0200)
commit7e4d57adf54ce369e4111bde0ccd3ea4b9e853ee
tree687ea86b525825aec3463e6565b4c5616ed20fbb
parent3759aa5f7745709c43f81faa36510ff650b4bf99
ignore indirect edge registrations in tunnelserver mode

In tunnelserver mode we're not interested to hear about
our client edges, just like in case of subnets.  Just
ignore all requests which are not about our node or the
client node.

The fix is very similar to what was done for subnets.

Note that we don't need to add the "unknown" nodes to
the list in tunnelserver mode too, so move allocation
of new nodes down the line.
src/protocol_edge.c