Skip to content

Commit

Permalink
dispatcher: fix for checking reply code class rule
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jun 3, 2022
1 parent 0550a3d commit 1ac02d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/dispatcher/dispatcher.c
Expand Up @@ -1247,7 +1247,7 @@ int ds_ping_check_rplcode(int code)
}
} else {
/* reply class */
if(((*ds_ping_reply_codes)[i] / 100) == code) {
if((*ds_ping_reply_codes)[i] == code / 100) {
return 1;
}
}
Expand Down

0 comments on commit 1ac02d9

Please sign in to comment.