mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 13:22:36 +01:00
Fix bug with ifdef. We have built PF_RING on travis since now
This commit is contained in:
parent
f16dcbf19b
commit
3a812f3783
@ -593,9 +593,9 @@ bool zc_main_loop(const char* device) {
|
|||||||
if (!pf_ring_license_state) {
|
if (!pf_ring_license_state) {
|
||||||
logger<< log4cpp::Priority::ERROR<<"PF_RING ZC haven't license for device"<<device
|
logger<< log4cpp::Priority::ERROR<<"PF_RING ZC haven't license for device"<<device
|
||||||
<<" and running in trial mode and will work only 5 minutes! Please buy license or switch to vanilla PF_RING";
|
<<" and running in trial mode and will work only 5 minutes! Please buy license or switch to vanilla PF_RING";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
for (int i = 0; i < zc_num_threads; i++) {
|
for (int i = 0; i < zc_num_threads; i++) {
|
||||||
outzq[i] = pfring_zc_create_queue(zc, QUEUE_LEN);
|
outzq[i] = pfring_zc_create_queue(zc, QUEUE_LEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user