Compare commits
5 Commits
v3.0.2.20.
...
v3.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
badd5547da | ||
|
|
95bdca7514 | ||
|
|
9e4ed53bb1 | ||
|
|
4942106aab | ||
|
|
28cfd57e98 |
@@ -67,7 +67,6 @@ develop_build_release:
|
|||||||
BUILD_TYPE: RelWithDebInfo
|
BUILD_TYPE: RelWithDebInfo
|
||||||
PACKAGE: 1
|
PACKAGE: 1
|
||||||
UPLOAD_RPM: 1
|
UPLOAD_RPM: 1
|
||||||
ASAN_OPTION: ADDRESS
|
|
||||||
TESTING_VERSION_BUILD: 1
|
TESTING_VERSION_BUILD: 1
|
||||||
PULP3_REPO_NAME: tsg-testing-x86_64.el7
|
PULP3_REPO_NAME: tsg-testing-x86_64.el7
|
||||||
PULP3_DIST_NAME: tsg-testing-x86_64.el7
|
PULP3_DIST_NAME: tsg-testing-x86_64.el7
|
||||||
|
|||||||
@@ -37,6 +37,11 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
|
|||||||
yum install -y $INSTALL_DEPENDENCY_LIBRARY
|
yum install -y $INSTALL_DEPENDENCY_LIBRARY
|
||||||
source /etc/profile.d/framework.sh
|
source /etc/profile.d/framework.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $ASAN_OPTION ];then
|
||||||
|
source /opt/rh/devtoolset-7/enable
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir build || true
|
mkdir build || true
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
|||||||
@@ -243,8 +243,16 @@ static char fw_dns_action(struct streaminfo *a_stream, dns_info_t *dns_info, Maa
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
senddir = MESA_dir_reverse(a_stream->routedir);
|
if(dns_info->hdr_info.qr==0)
|
||||||
|
{
|
||||||
|
senddir = MESA_dir_reverse(a_stream->routedir);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
senddir = a_stream->routedir;
|
||||||
|
}
|
||||||
ret=MESA_inject_pkt(a_stream, (const char *)cheat_pkt_payload, payload_len, (const char *)a_packet, senddir);
|
ret=MESA_inject_pkt(a_stream, (const char *)cheat_pkt_payload, payload_len, (const char *)a_packet, senddir);
|
||||||
|
|
||||||
if(ret<0)
|
if(ret<0)
|
||||||
{
|
{
|
||||||
MESA_handle_runtime_log(g_fw_dns_plug_info.logger,
|
MESA_handle_runtime_log(g_fw_dns_plug_info.logger,
|
||||||
|
|||||||
Reference in New Issue
Block a user