1 | *** initialize.old.c 2011-02-18 09:37:36.000000000 -0500 |
---|
2 | --- initialize.c 2011-02-18 09:38:09.000000000 -0500 |
---|
3 | *************** |
---|
4 | *** 118,126 **** |
---|
5 | |
---|
6 | sscanf(event_get_version(), "%d.%d", &major, &minor); |
---|
7 | |
---|
8 | ! if(minor < 4) { |
---|
9 | traceEvent(CONST_TRACE_ERROR, |
---|
10 | ! "You are using libevent %d whereas ntop needs at least v1.4", |
---|
11 | event_get_version()); |
---|
12 | traceEvent(CONST_TRACE_ERROR, |
---|
13 | "Due to a libevent bug with IPv6 address resolution"); |
---|
14 | --- 118,126 ---- |
---|
15 | |
---|
16 | sscanf(event_get_version(), "%d.%d", &major, &minor); |
---|
17 | |
---|
18 | ! if(major == 1 && minor < 4) { |
---|
19 | traceEvent(CONST_TRACE_ERROR, |
---|
20 | ! "You are using libevent %s whereas ntop needs at least v1.4", |
---|
21 | event_get_version()); |
---|
22 | traceEvent(CONST_TRACE_ERROR, |
---|
23 | "Due to a libevent bug with IPv6 address resolution"); |
---|