@ -1530,7 +1530,7 @@ int main(int argc, char **argv)
exit ( EXIT_FAILURE ) ;
exit ( EXIT_FAILURE ) ;
}
}
} else {
} else {
int ret = LiveBuild Ifa ceList( " pcap " ) ;
int ret = LiveBuild Devi ceList( " pcap " ) ;
if ( ret = = 0 ) {
if ( ret = = 0 ) {
fprintf ( stderr , " ERROR: No interface found in config for pcap \n " ) ;
fprintf ( stderr , " ERROR: No interface found in config for pcap \n " ) ;
exit ( EXIT_FAILURE ) ;
exit ( EXIT_FAILURE ) ;
@ -1547,7 +1547,7 @@ int main(int argc, char **argv)
}
}
} else {
} else {
/* not an error condition if we have a 1.0 config */
/* not an error condition if we have a 1.0 config */
LiveBuild Ifa ceList( " pfring " ) ;
LiveBuild Devi ceList( " pfring " ) ;
}
}
# endif /* HAVE_PFRING */
# endif /* HAVE_PFRING */
} else if ( run_mode = = RUNMODE_AFP_DEV ) {
} else if ( run_mode = = RUNMODE_AFP_DEV ) {
@ -1558,7 +1558,7 @@ int main(int argc, char **argv)
exit ( EXIT_FAILURE ) ;
exit ( EXIT_FAILURE ) ;
}
}
} else {
} else {
int ret = LiveBuild Ifa ceList( " af-packet " ) ;
int ret = LiveBuild Devi ceList( " af-packet " ) ;
if ( ret = = 0 ) {
if ( ret = = 0 ) {
fprintf ( stderr , " ERROR: No interface found in config for af-packet \n " ) ;
fprintf ( stderr , " ERROR: No interface found in config for af-packet \n " ) ;
exit ( EXIT_FAILURE ) ;
exit ( EXIT_FAILURE ) ;