veyron/services/mounttable: Fixing a bug where a child mounttable
(using the -name flag) registering under a root mounttable would re-mount
to itself rather than the actual root after TTL expired
the first time.

The problem:
mounttable daemon was setting itself as the NamespaceRoot after serving
this meant when publisher mounts correctly to NAMESCPACE_ROOT the first time but when TTL expires and publisher and tries to mount again, it would
instead mount itself to itself instead of NAMESCPACE_ROOT.

The fix:
mounttable daemon was setting itself as the NamespaceRoot for the purpose
mounting the neighborhood server on itself rather than the NAMESCPACE_ROOT.
The fix accomplishes that by serving the "nh" suffix at the rooted
/thisMTAddress//nh therefore eliminating the need to change the namespace
root.

Change-Id: I38ed9246664d4603b2acdf8696c63a409c8a5910
1 file changed
tree: 35050d668310bbe0084c49b697ae69f005269376
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/