修正direction为I2E时MAC填写异常
This commit is contained in:
@@ -813,8 +813,8 @@ int direction_I2E(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_ha
|
||||
|
||||
if((memcmp(mac_addr->mac->dst_addr.h_source, default_mac, 6))==0)
|
||||
{
|
||||
TLD_append(_handle, _instance->id2field[LOG_COMMON_OUTCOMING_SRC_MAC].name, (void *)dst_mac_string, TLD_TYPE_STRING);
|
||||
TLD_append(_handle, _instance->id2field[LOG_COMMON_OUTCOMING_DST_MAC].name, (void *)src_mac_string, TLD_TYPE_STRING);
|
||||
TLD_append(_handle, _instance->id2field[LOG_COMMON_INCOMING_SRC_MAC].name, (void *)dst_mac_string, TLD_TYPE_STRING);
|
||||
TLD_append(_handle, _instance->id2field[LOG_COMMON_INCOMING_DST_MAC].name, (void *)src_mac_string, TLD_TYPE_STRING);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -35,6 +35,11 @@ int get_thread_count(void)
|
||||
return 8;
|
||||
}
|
||||
|
||||
long long get_timestamp_ms()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int MESA_rst_tcp(struct streaminfo * stream, struct rst_tcp_para * paras, int para_len)
|
||||
{
|
||||
return 0;
|
||||
@@ -323,7 +328,7 @@ extern "C" bool dtls_identifyStream(struct streaminfo *a_udp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" struct _ssl_ja3_info_t *ssl_get_ja3_fingerprint(struct streaminfo *stream, unsigned char *payload, int payload_len, int thread_seq)
|
||||
struct ssl_ja3_info *ssl_get_ja3_fingerprint(struct streaminfo *stream, unsigned char *payload, int payload_len, int thread_seq)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user