return nonzero returncode upon failure
This commit is contained in:
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
|
||||
if (DEBUG) perror("ioctl SIOCGIFFLAGS");
|
||||
close(sockfd);
|
||||
free(sifreq);
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
//set up promisc mode if enabled
|
||||
|
||||
Reference in New Issue
Block a user