summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-04-01 13:01:53 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-04-05 10:30:48 +0200
commitb81d5a327d272db9b511217665b5febceccb725d (patch)
tree29a6f63bd935a0d793324a1d1e01d9c76c342ea2
parent642e3469d7265431a21f433f8c8d10d1f30cbe6c (diff)
downloadouroboros-b81d5a327d272db9b511217665b5febceccb725d.tar.gz
ouroboros-b81d5a327d272db9b511217665b5febceccb725d.zip
tools: Fix hash algorithm in ipcp_bootstrap0.11.2
A bad check caused failure to set the hash algorithm for IPCPs. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60b13082..1f888d1e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ include(GNUInstallDirs)
set(PACKAGE_VERSION_MAJOR 0)
set(PACKAGE_VERSION_MINOR 11)
-set(PACKAGE_VERSION_PATCH 1)
+set(PACKAGE_VERSION_PATCH 2)
set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(PACKAGE_DESCRIPTION "The Ouroboros prototype")
diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c
index 9cf6514e..8c01569b 100644
--- a/src/tools/irm/irm_ipcp_bootstrap.c
+++ b/src/tools/irm/irm_ipcp_bootstrap.c
@@ -290,7 +290,7 @@ int do_bootstrap_ipcp(int argc,
}
strcpy(conf.layer_info.layer_name, layer);
- if (conf.type == IPCP_UDP)
+ if (conf.type != IPCP_UDP)
conf.layer_info.dir_hash_algo = hash_algo;
switch (conf.type) {