ports/net/freenet6/files/patch-template_freebsd.sh
Kevin Lo c2423da314 Implement a number of improvments:
- 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
2017-06-16 13:49:28 +00:00

11 lines
479 B
Bash

--- template/freebsd.sh.orig 2017-06-16 09:11:57 UTC
+++ template/freebsd.sh
@@ -201,7 +201,7 @@ if [ X"${TSP_TUNNEL_MODE}" = X"v6v4" ] || [ X"${TSP_TU
fi
#
# Configured tunnel config (IPv6)
-
+ Exec $ifconfig $TSP_TUNNEL_INTERFACE inet6 -ifdisabled
Exec $ifconfig $TSP_TUNNEL_INTERFACE inet6 $TSP_CLIENT_ADDRESS_IPV6 $TSP_SERVER_ADDRESS_IPV6 prefixlen $TSP_TUNNEL_PREFIXLEN alias
Exec $ifconfig $TSP_TUNNEL_INTERFACE mtu 1280
#