summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c2
1 files changed, 1 insertions, 1 deletions
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) {