diff --git a/client/d4.c b/client/d4.c index 25f6548..09f3da0 100644 --- a/client/d4.c +++ b/client/d4.c @@ -34,7 +34,7 @@ int d4_check_config(d4_t* d4) printf("TEST snaplen %d stdin %d stdout %d\n", d4->snaplen, STDIN_FILENO, STDOUT_FILENO); //FIXME Check other parameters - if (( d4->destination.fd > 0 ) && ( d4->snaplen >0 )) { + if ((atoi(d4->conf[VERSION])>0) && ( d4->destination.fd > 0 ) && ( d4->snaplen >0 )) { return 1; } return -1;