diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-24 10:12:36 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-24 10:12:36 +0000 |
commit | 15b492ffb0de010b94bfb4e80c721e04ef6f63c2 (patch) | |
tree | 89eca9a497ae3d72443252271b8b4dce1f54cd4d /src/irmd | |
parent | ce5ad7a0697853e7d23030c823c3381ca3f71fef (diff) | |
parent | c3621094470638330855b87a32ecb3067ab58282 (diff) | |
download | ouroboros-15b492ffb0de010b94bfb4e80c721e04ef6f63c2.tar.gz ouroboros-15b492ffb0de010b94bfb4e80c721e04ef6f63c2.zip |
Merged in dstaesse/ouroboros/testing-irmd (pull request #390)
irmd: Fix bug in name comparison of IPCPs
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index f6328979..658a08f6 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -187,7 +187,7 @@ static struct ipcp_entry * get_ipcp_entry_by_name(const char * name) list_for_each(p, &irmd->ipcps) { struct ipcp_entry * e = list_entry(p, struct ipcp_entry, next); - if (strcmp(name, e->name)) + if (strcmp(name, e->name) == 0) return e; } |