summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-05-15 13:46:59 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-05-15 20:45:15 +0200
commita1f426f464989d8d045435f1f396719d29bcbdb2 (patch)
tree6cdae48a435e4e89b14a3200b45cb9ee6b5f28e7 /src/ipcpd
parent38cfdc212c623a46038f005b0c1604c3fdaf3762 (diff)
downloadouroboros-a1f426f464989d8d045435f1f396719d29bcbdb2.tar.gz
ouroboros-a1f426f464989d8d045435f1f396719d29bcbdb2.zip
lib: Use IPCP name as RIB directory
This will change the FUSE mountpount to the name of the IPCP instead of a generic name based on its pid. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/normal/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 152f7640..b131bbb6 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -304,7 +304,7 @@ int main(int argc,
}
/* These components must be init at creation. */
- if (rib_init("ipcpd-normal")) {
+ if (rib_init(ipcpi.name)) {
log_err("Failed to initialize RIB.");
goto fail_rib_init;
}