changeset 523:4b1b22e3b4f3

It seems the ABNF of Tunneling AVP is broken for requests...
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 01 Sep 2010 12:40:46 +0900
parents 0a51aa1a2842
children bc25e91e1e3c
files extensions/dict_nasreq/dict_nasreq.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/dict_nasreq/dict_nasreq.c	Wed Sep 01 11:48:39 2010 +0900
+++ b/extensions/dict_nasreq/dict_nasreq.c	Wed Sep 01 12:40:46 2010 +0900
@@ -2344,9 +2344,9 @@
 					};
 			struct local_rules_definition rules[] = 
 						{ 	 {  "Tunnel-Type", 			RULE_REQUIRED, -1, 1 }
-							,{  "Tunnel-Medium-Type",		RULE_REQUIRED, -1, 1 }
-							,{  "Tunnel-Client-Endpoint",		RULE_REQUIRED, -1, 1 }
-							,{  "Tunnel-Server-Endpoint",		RULE_REQUIRED, -1, 1 }
+							,{  "Tunnel-Medium-Type",		RULE_OPTIONAL, -1, 1 }
+							,{  "Tunnel-Client-Endpoint",		RULE_OPTIONAL, -1, 1 }
+							,{  "Tunnel-Server-Endpoint",		RULE_OPTIONAL, -1, 1 }
 							,{  "Tunnel-Preference",		RULE_OPTIONAL, -1, 1 }
 							,{  "Tunnel-Client-Auth-Id",		RULE_OPTIONAL, -1, 1 }
 							,{  "Tunnel-Server-Auth-Id",		RULE_OPTIONAL, -1, 1 }
"Welcome to our mercurial repository"