Added support for DLT_NULL
0.16
This commit is contained in:
@@ -4,7 +4,8 @@ $Id$
|
|||||||
Attributions apply to all preceding items up to the next blank line.
|
Attributions apply to all preceding items up to the next blank line.
|
||||||
Unattributed items are by Paul Warren and Chris Lightfoot.
|
Unattributed items are by Paul Warren and Chris Lightfoot.
|
||||||
|
|
||||||
0.16
|
0.16 28/02/04
|
||||||
|
* Added support for DLT_NULL
|
||||||
* Fix for pthread.c behaviour on Solaris.
|
* Fix for pthread.c behaviour on Solaris.
|
||||||
|
|
||||||
* Build fixes for gcc 3.4+
|
* Build fixes for gcc 3.4+
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ AC_CONFIG_AUX_DIR(config)
|
|||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(iftop, "0.15")
|
AM_INIT_AUTOMAKE(iftop, "0.16")
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(IFTOP_VERSION, "$VERSION", [The iftop version number])
|
AC_DEFINE_UNQUOTED(IFTOP_VERSION, "$VERSION", [The iftop version number])
|
||||||
|
|
||||||
|
|||||||
2
iftop.c
2
iftop.c
@@ -481,7 +481,7 @@ void packet_init() {
|
|||||||
if(dlt == DLT_EN10MB) {
|
if(dlt == DLT_EN10MB) {
|
||||||
packet_handler = handle_eth_packet;
|
packet_handler = handle_eth_packet;
|
||||||
}
|
}
|
||||||
else if(dlt == DLT_RAW) {
|
else if(dlt == DLT_RAW || dlt == DLT_NULL) {
|
||||||
packet_handler = handle_raw_packet;
|
packet_handler = handle_raw_packet;
|
||||||
}
|
}
|
||||||
else if(dlt == DLT_IEEE802) {
|
else if(dlt == DLT_IEEE802) {
|
||||||
|
|||||||
Reference in New Issue
Block a user