|
@@ -469,7 +469,7 @@ class LocalNodeBuilder(NodeBuilder):
|
|
|
|
|
|
def _getAltAuthLines(self, hasbridgeauth=False):
|
|
def _getAltAuthLines(self, hasbridgeauth=False):
|
|
"""Return a combination of AlternateDirAuthority,
|
|
"""Return a combination of AlternateDirAuthority,
|
|
- AlternateHSAuthority and AlternateBridgeAuthority lines for
|
|
|
|
|
|
+ and AlternateBridgeAuthority lines for
|
|
this Node, appropriately. Non-authorities return ""."""
|
|
this Node, appropriately. Non-authorities return ""."""
|
|
if not self._env['authority']:
|
|
if not self._env['authority']:
|
|
return ""
|
|
return ""
|
|
@@ -492,14 +492,14 @@ class LocalNodeBuilder(NodeBuilder):
|
|
self._env['dirserver_flags'] += " bridge"
|
|
self._env['dirserver_flags'] += " bridge"
|
|
else:
|
|
else:
|
|
# Directory authorities return AlternateDirAuthority with
|
|
# Directory authorities return AlternateDirAuthority with
|
|
- # the 'hs' and 'v3ident' flags set.
|
|
|
|
|
|
+ # the 'v3ident' flag set.
|
|
# XXXX This next line is needed for 'bridges' but breaks
|
|
# XXXX This next line is needed for 'bridges' but breaks
|
|
# 'basic'
|
|
# 'basic'
|
|
if hasbridgeauth:
|
|
if hasbridgeauth:
|
|
options = ("AlternateDirAuthority",)
|
|
options = ("AlternateDirAuthority",)
|
|
else:
|
|
else:
|
|
options = ("DirAuthority",)
|
|
options = ("DirAuthority",)
|
|
- self._env['dirserver_flags'] += " hs v3ident=%s" % v3id
|
|
|
|
|
|
+ self._env['dirserver_flags'] += " v3ident=%s" % v3id
|
|
|
|
|
|
authlines = ""
|
|
authlines = ""
|
|
for authopt in options:
|
|
for authopt in options:
|