forgot to add c in getopt
This commit is contained in:
parent
673cdb16a0
commit
acc093b2a2
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user