mirror of https://github.com/M66B/NetGuard.git
parent
680b0e3e1d
commit
864c676dce
|
@ -115,10 +115,8 @@ void check_icmp_socket(const struct arguments *args, const struct epoll_event *e
|
||||||
icmp->icmp_type, icmp->icmp_code,
|
icmp->icmp_type, icmp->icmp_code,
|
||||||
s->icmp.id, icmp->icmp_id, icmp->icmp_seq);
|
s->icmp.id, icmp->icmp_id, icmp->icmp_seq);
|
||||||
|
|
||||||
//below hack did cause many problems with working server but if the sever sends
|
// restore original ID
|
||||||
// wrong respond that is not our mistake no need to hack
|
icmp->icmp_id = s->icmp.id;
|
||||||
//icmp->icmp_id = s->icmp.id; //hack: restore original ID
|
|
||||||
|
|
||||||
uint16_t csum = 0;
|
uint16_t csum = 0;
|
||||||
if (s->icmp.version == 6) {
|
if (s->icmp.version == 6) {
|
||||||
// Untested
|
// Untested
|
||||||
|
|
Loading…
Reference in New Issue