Skip to content

Commit

Permalink
bugfix: testing for empty MAC or actorSystemID
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 23, 2019
1 parent bed753c commit c16ae12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linux/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ extern "C" {

int isAllZero(u_char *buf, int len) {
for(int ii = 0; ii < len; ii++) {
if(buf[len] != 0) return NO;
if(buf[ii] != 0) return NO;
}
return YES;
}
Expand Down

0 comments on commit c16ae12

Please sign in to comment.