nfd: uncomment transport in client.conf to allow connections on /run/<node>.sock
refs: #5039 Change-Id: Id14c60ca171f80277a248cb9452c3b4d3e39ebce
This commit is contained in:
1 parent
f48424a4a7
commit
76dbe6633c
1 file changed
+2
-1
+2
-1
@@ -35,7 +35,7 @@ class Nfd(Application):
|
||||
|
||||
self.confFile = '{}/nfd.conf'.format(self.homeDir)
|
||||
self.logFile = 'nfd.log'
|
||||
self.sockFile = '/var/run/{}.sock'.format(node.name)
|
||||
self.sockFile = '/run/{}.sock'.format(node.name)
|
||||
self.ndnFolder = '{}/.ndn'.format(self.homeDir)
|
||||
self.clientConf = '{}/client.conf'.format(self.ndnFolder)
|
||||
|
||||
@@ -63,6 +63,7 @@ class Nfd(Application):
|
||||
copyExistentFile(node, possibleClientConfPaths, self.clientConf)
|
||||
|
||||
# Change the unix socket
|
||||
node.cmd('sudo sed -i "s|;transport|transport|g" {}'.format(self.clientConf))
|
||||
node.cmd('sudo sed -i "s|nfd.sock|{}.sock|g" {}'.format(node.name, self.clientConf))
|
||||
|
||||
if not Minindn.ndnSecurityDisabled:
|
||||
|
||||
Reference in new issue
Block a user