Commit bca4b1b0 authored by pintar's avatar pintar
Browse files

Address length calculation should have also additional 2 bytes for familly version

parent 88b93c02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2207,8 +2207,8 @@ module LibDiameter_Templates {
        function f_IPAdressLength ()
        	return integer
        {if (PX_IPv6)
        	{return(16) }
        	else {return(4) }
        	{return(18) }//16 for IPv6 + 2 for IP familly
        	else {return(6) }// 4 for IPv4 + 2 for IP family
        }
        
        function f_paddedBytes_string(in charstring p_char) return charstring {