Commit c5edab3b authored by berge's avatar berge
Browse files

Fixed TA initialization problem in TC_TRANS_0049_0[2-5]

parent 27ed3a3a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -540,7 +540,7 @@ group securityConsiderationsEncapsulation {
		f_PR_tn_nut(p_cfMsg, e_cleanGla, p_cfMsg.paramsHs02, p_cfMsg.paramsIut);

		//Test body
		f_TP_ipv6PacketIsDiscardedDstAdr_6(p_cfMsg.paramsHs02,p_ipv4Address);
		f_TP_ipv6PacketIsDiscardedDstAdr_6(p_cfMsg.paramsHs02, p_ipv4Address, p_cfMsg);

		//Postamble
		f_PO_tn_nut(p_cfMsg, c_cleanOnlyLla, p_cfMsg.paramsHs02, p_cfMsg.paramsIut);
+6 −1
Original line number Diff line number Diff line
@@ -336,10 +336,12 @@
	 *          by 6to4 router due to wrong IPv4 part of IPv6 destination address.
	 * @param	p_paramsHs02 Address Information of Testing Node
	 * @param	p_ipv4Address wrong IPv4 address
	 * @param	p_cfMsg Configuration message for Test Adapter  (needed to send packet to new address)	 
	*/
	function f_TP_ipv6PacketIsDiscardedDstAdr_6(
		template Ipv6NodeParams p_paramsRelayHs02,
		Ipv4Address p_ipv4Address
		Ipv4Address p_ipv4Address,
		CfMessage p_cfMsg
	)
	runs on Ipv6Node {

@@ -347,6 +349,9 @@
		var Ipv6Address v_invalidAddress := 
			c_6to4Prefix & p_ipv4Address & c_6to4_SUBNET_ID_RT01 & f_createUniqueInterfaceId(PX_MAC_UCA_RT01_A);		

		p_cfMsg.paramsIut.gla := v_invalidAddress;	
		cfPort.send ( p_cfMsg );

		//send ERq + sync
		v_ret := f_echoProcDown ( p_paramsRelayHs02.gla,
								  v_invalidAddress) ;