Added support for DLT_NULL

0.16
This commit is contained in:
pdw
2004-02-28 18:53:37 +00:00
parent e6cd8bdbee
commit 4327f0ef4d
3 changed files with 4 additions and 3 deletions

View File

@@ -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+

View File

@@ -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])

View File

@@ -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) {