forked from osmocom/wireshark
parent
39927e5db7
commit
c56dc7ea38
|
@ -1,7 +1,7 @@
|
||||||
/* packet_info.h
|
/* packet_info.h
|
||||||
* Definitions for packet info structures and routines
|
* Definitions for packet info structures and routines
|
||||||
*
|
*
|
||||||
* $Id: packet_info.h,v 1.16 2002/07/31 06:15:26 sahlberg Exp $
|
* $Id: packet_info.h,v 1.17 2002/07/31 11:16:19 sahlberg Exp $
|
||||||
*
|
*
|
||||||
* Ethereal - Network traffic analyzer
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@ethereal.com>
|
* By Gerald Combs <gerald@ethereal.com>
|
||||||
|
@ -65,7 +65,7 @@ typedef struct _address {
|
||||||
((addr1)->type < (addr2)->type)?-1: \
|
((addr1)->type < (addr2)->type)?-1: \
|
||||||
((addr1)->len > (addr2)->len) ?1: \
|
((addr1)->len > (addr2)->len) ?1: \
|
||||||
((addr1)->len < (addr2)->len) ?-1: \
|
((addr1)->len < (addr2)->len) ?-1: \
|
||||||
memcmp((addr1)-data, (addr2)->data, (addr1)->len)\
|
memcmp((addr1)->data, (addr2)->data, (addr1)->len)\
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue