mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
- When shutdown, the correct behavior is to send SIGHUP. - When PID of the gw6c process greater than 65536, it can not perform timeout ping check correctly, due to echo_id in icmp_hdr is declared as uint16_t. - Mute dmesg noise "nd6_dad_timer: cancel DAD on tun0 because of ND6_IFF_IFDISABLED." PR: 211425 Submitted by: clive
11 lines
403 B
C
11 lines
403 B
C
--- src/net/icmp_echo_engine.c.orig 2017-06-16 09:08:10 UTC
|
|
+++ src/net/icmp_echo_engine.c
|
|
@@ -238,7 +238,7 @@ iee_ret_t IEE_init( void** pp_config, iee_mode_t eng_m
|
|
p_engine->clbk_recv = recv_clbk;
|
|
|
|
// Initialize engine socket variables.
|
|
- p_engine->icmp_echo_id = pal_getpid();
|
|
+ p_engine->icmp_echo_id = pal_getpid() % 65536;
|
|
p_engine->icmp_saf = af;
|
|
switch( p_engine->icmp_saf )
|
|
{
|