diff extensions/dict_nasreq/dict_nasreq.c @ 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 9d786d459dc8
children f198d16fa7f4
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"