From 1ece1ab32551a969700397887e4f3349f83e9ae6 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Mon, 20 May 2013 15:53:45 +0100 Subject: [PATCH] Allow 0 default value for ipv6 tunnel MTU Ooooops! Got a little over enthusiastic with validation in the manual 6RD tweak. TODO: GUI should check for 0 (default) or 1280-1480 --- release/src/router/httpd/tomato.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/src/router/httpd/tomato.c b/release/src/router/httpd/tomato.c index f8faa9a682..dd91b1007d 100644 --- a/release/src/router/httpd/tomato.c +++ b/release/src/router/httpd/tomato.c @@ -681,7 +681,7 @@ static const nvset_t nvset_list[] = { { "ipv6_ifname", V_LENGTH(0, 8) }, { "ipv6_tun_v4end", V_IP }, { "ipv6_relay", V_RANGE(1, 254) }, - { "ipv6_tun_mtu", V_RANGE(1280, 1480) }, // Tunnel MTU + { "ipv6_tun_mtu", V_NUM }, // Tunnel MTU { "ipv6_tun_ttl", V_NUM }, // Tunnel TTL { "ipv6_dns", V_LENGTH(0, 40*3) }, // ip6 ip6 ip6 { "ipv6_6rd_prefix", V_IPV6(0) }, // 6rd prefix -- 2.11.4.GIT