summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 14:35:09 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-13 14:35:09 +0200
commit5e2074f079f39aa683c59b53d33bac3bccd561f0 (patch)
treeaa1fc106a3ab8559d47e06b1c7856a8b2821520b
parentdf141f1ccff7edac4873845855d605ef70057fae (diff)
downloadouroboros-5e2074f079f39aa683c59b53d33bac3bccd561f0.tar.gz
ouroboros-5e2074f079f39aa683c59b53d33bac3bccd561f0.zip
ipcpd: Fix unregistration in normal
-rw-r--r--src/ipcpd/normal/dir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/dir.c b/src/ipcpd/normal/dir.c
index cbc50ba4..0249ba06 100644
--- a/src/ipcpd/normal/dir.c
+++ b/src/ipcpd/normal/dir.c
@@ -98,6 +98,8 @@ int dir_unreg(const uint8_t * hash)
dir_path_reset();
+ ipcp_hash_str(hashstr, hash);
+
rib_path_append(dir_path, hashstr);
if (!rib_has(dir_path))