Commit d1e3c5ee authored by berge's avatar berge
Browse files

Added missing Source Link-Layer Address Option in Router Advertisements (Bug 329)

parent 1061af12
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -106,11 +106,13 @@ module LibIpv6_Rfc2461NeighborDiscovery_Functions {
		 * @param 	p_dstAddr Local link address of node under test
		 * @param 	p_prefixLength Router advertisement option prefix length value
		 * @param 	p_glaAddrTn Global address of testing node which calls this function
		 * @param 	p_macUcaTn Local link-layer address of testing node which calls this function
		*/
		function f_sendRtAdvWithPrefix( in template Ipv6Address 	p_llaAddrTn,
										in template Ipv6Address 	p_dstAddr,
										in template PrefixLength 	p_prefixLength,
										in template Ipv6Address 	p_glaAddrTn)
										in template Ipv6Address 	p_glaAddrTn,
										in template Oct6to15		p_macUcaTn)
		runs on LibIpv6Node
		return FncRetCode {

@@ -123,7 +125,9 @@ module LibIpv6_Rfc2461NeighborDiscovery_Functions {
														c_infiniteLifetime,
														c_unspecifiedReachTime,
														c_unspecifiedRetransTime,
														m_rtAdvOpt_prefixOpt (	p_prefixLength,
														m_rtAdvOpt_sllaPrefixOpt (	
																				p_macUcaTn,
																				p_prefixLength,
																				c_lFlag1,
																				c_aFlag1,
																				c_validLifetime30s,
@@ -141,11 +145,13 @@ module LibIpv6_Rfc2461NeighborDiscovery_Functions {
		 * @param 	p_dstAddr Local link address of node under test
		 * @param 	p_prefixLength Router advertisement option prefix length value
		 * @param 	p_glaAddrTn Global address of testing node which calls this function
		 * @param 	p_macUcaTn Local link-layer address of testing node which calls this function
		*/
		function f_sendRtAdvWithPrefix_lifeTime( in template Ipv6Address 	p_llaAddrTn,
										in template Ipv6Address 	p_dstAddr,
										in template PrefixLength p_prefixLength,
										in template Ipv6Address 	p_glaAddrTn,
										in template Oct6to15		p_macUcaTn,
										in UInt32 p_validLifetime,
										in UInt32 p_preferredLifetime)
		runs on LibIpv6Node
@@ -160,7 +166,9 @@ module LibIpv6_Rfc2461NeighborDiscovery_Functions {
														c_infiniteLifetime,
														c_unspecifiedReachTime,
														c_unspecifiedRetransTime,
														m_rtAdvOpt_prefixOpt (	p_prefixLength,
														m_rtAdvOpt_sllaPrefixOpt (	
																				p_macUcaTn,
																				p_prefixLength,
																				c_lFlag1,
																				c_aFlag1,
																				p_validLifetime,
+2 −0
Original line number Diff line number Diff line
@@ -657,6 +657,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
												c_allNodesMca,
												p_paramsRt.prefixLength,
												p_paramsRt.gla,
												p_paramsRt.macUca,
												c_infinitePrefixLifetime,
												c_infinitePrefixLifetime	) ;
						v_count := v_count + 1;
@@ -702,6 +703,7 @@ module LibIpv6_Rfc3775Mipv6_Functions {
					c_allNodesMca,
					p_paramsRt.prefixLength,
					p_paramsRt.gla,
					p_paramsRt.macUca,
					c_infinitePrefixLifetime,
					c_infinitePrefixLifetime );

+1 −1

File changed.

Contains only whitespace changes.