Commit b81f7175 authored by rennoch's avatar rennoch
Browse files

UInt24 import added

parent 5d598270
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ module LibDiameter_Templates {

    //LibCommon
    import from LibCommon_DataStrings {type Bit1, Bit4, Bit5, Bit8;}//all;
    import from LibCommon_BasicTypesAndValues {type UInt8, UInt32;};
    import from LibCommon_BasicTypesAndValues {type UInt8, UInt24, UInt32;};

    //LibDiameter
    import from LibDiameter_Types_Base_AVPs all;
@@ -2741,6 +2741,13 @@ module LibDiameter_Templates {
            else {return(4+2) }
        }
        
        function f_IPAdressLengthUInt24 ()
            return UInt24
        {if (PX_IPv6)
            {return(16+2) } //+2 address family
            else {return(4+2) }
        }

    }//end group FunctionsForTemplates

}//end module LibDiameter_Templates
 No newline at end of file