forgot to add c in getopt
This commit is contained in:
+1
-1
@@ -368,7 +368,7 @@ int main(int argc, char **argv) {
|
|||||||
struct ifreq ifr;
|
struct ifreq ifr;
|
||||||
|
|
||||||
|
|
||||||
while ((option = getopt(argc, argv, "d:hf")) !=-1) {
|
while ((option = getopt(argc, argv, "d:hfc")) !=-1) {
|
||||||
switch (option) {
|
switch (option) {
|
||||||
case 'd' :
|
case 'd' :
|
||||||
delay = atoi(optarg);
|
delay = atoi(optarg);
|
||||||
|
|||||||
Reference in New Issue
Block a user