Hello,

please can you resend to me the patch as attachment ? my email client
mangled the patch.

I will review it today. thanks

Saverio


2012/5/17 Moritz Warning <moritzwarn...@web.de>:
> The tinc init script needs to know all valid options used in /etc/conf/tinc.
> This patch updates that list to tinc 0.18 (current version).
>
> Signed-off-by: Moritz Warning <moritzwarn...@web.de>
>
> ---
>
> Index: net/tinc/files/tinc.init
> ===================================================================
> --- net/tinc/files/tinc.init    (revision 31761)
> +++ net/tinc/files/tinc.init    (working copy)
> @@ -98,11 +98,12 @@
>
>        # append flags
>        append_conf_bools "$s" "$TMP_TINC/$n/hosts/$s" \
> -               ClampMSS IndirectData PMTUDiscovery
> +               ClampMSS IndirectData PMTUDiscovery TCPOnly
>
>        # append params
>        append_conf_params "$s" "$TMP_TINC/$n/hosts/$s" \
> -               Address Cipher Compression Digest MACLength PMTU Port Subnet
> +               Address Cipher Compression Digest MACLength PMTU \
> +               Port PublicKey PublicKeyFile Subnet
>  }
>
>  check_gen_own_key() {
> @@ -139,17 +140,20 @@
>
>        # append flags
>        append_conf_bools "$s" "$TMP_TINC/$s/tinc.conf" \
> -               DirectOnly Hostnames IffOneQueue PriorityInheritance \
> -               StrictSubnets TunnelServer \
> -               ClampMSS IndirectData PMTUDiscovery
> +               DecrementTTL DirectOnly Hostnames IffOneQueue \
> +               LocalDiscovery PriorityInheritance StrictSubnets TunnelServer 
> \
> +               ClampMSS IndirectData PMTUDiscovery TCPOnly
>
>        # append params
>        append_conf_params "$s" "$TMP_TINC/$s/tinc.conf" \
> -               AddressFamily BindToAddress ConnectTo BindToInterface \
> -               Forwarding GraphDumpFile Interface KeyExpire MACExpire \
> -               MaxTimeout Mode Name PingInterval PingTimeout PrivateKeyFile \
> -               ProcessPriority ReplayWindow UDPRcvBuf UDPSndBuf \
> -               Address Cipher Compression Digest MACLength PMTU Port Subnet
> +               AddressFamily BindToAddress BindToInterface \
> +               Broadcast ConnectTo Device DeviceType Forwarding \
> +               GraphDumpFile Interface KeyExpire MACExpire \
> +               MaxTimeout Mode Name PingInterval PingTimeout \
> +               PrivateKey PrivateKeyFile ProcessPriority ReplayWindow \
> +               UDPRcvBuf UDPSndBuf \
> +               Address Cipher Compression Digest MACLength PMTU \
> +               Port PublicKey PublicKeyFile Subnet
>
>        check_gen_own_key "$s" && return 0
>  }
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to