return nonzero returncode upon failure

This commit is contained in:
burrches
2022-01-29 16:47:18 -05:00
parent 0fc2ff669c
commit d9df9e0e86

View File

@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
if (DEBUG) perror("ioctl SIOCGIFFLAGS"); if (DEBUG) perror("ioctl SIOCGIFFLAGS");
close(sockfd); close(sockfd);
free(sifreq); free(sifreq);
return 0; return 1;
} }
//set up promisc mode if enabled //set up promisc mode if enabled