Mikrotik RouterOS 6.39 Radius issues

Hi guys, Mikrotik has a problem with Radius Accounting stop messages in 6.39 version. Please do not upgrade to it untill they will fix it. In case if they will not fix it, we will have to change the processing of Mikrotik stop packets in Splynx Radius server.

Description of the issue :

In case when Mikrotik stops the PPP session, it sends wrong Framed-IP address (10.0.0.0). We work with the Framed-IP address as part of session identification, so our Radius cannot close the session correctly. In all previous versions always correct Framed-IP address came back from Mikrotik to Radius server.

Here is a correct START packet, where Framed-IP is the IP address of customer (192.168.102.5) :

START:
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 15728642
NAS-Port-Type = Ethernet
User-Name = “alex”
Calling-Station-Id = “C8:2A:14:2D:05:AE”
Called-Station-Id = “service1”
NAS-Port-Id = “ether3”
Acct-Session-Id = “81300002”
Framed-IP-Address = 192.168.102.5
Acct-Authentic = RADIUS
Event-Timestamp = “May 2 2017 18:15:50 CEST”
Acct-Status-Type = Start
NAS-Identifier = “NAS-SPLYNX”
Acct-Delay-Time = 0
NAS-IP-Address = 10.0.1.36

And here is a STOP packet with broken Framed-IP address :
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 15728642
NAS-Port-Type = Ethernet
User-Name = “alex”
Calling-Station-Id = “C8:2A:14:2D:05:AE”
Called-Station-Id = “service1”
NAS-Port-Id = “ether3”
Acct-Session-Id = “81300002”
Framed-IP-Address = 10.0.0.0
Acct-Authentic = RADIUS
Event-Timestamp = “May 2 2017 18:16:38 CEST”
Acct-Session-Time = 48
Idle-Timeout = 0
Session-Timeout = 0
X-Ascend-Data-Rate = 1000000
Ascend-Xmit-Rate = 1000000
X-Ascend-Data-Rate = 500000
Ascend-Data-Rate = 500000
Mikrotik-Rate-Limit = “500000/1000000 0/0 0/0 1/1 5 250000/500000”
Acct-Input-Octets = 55500
Acct-Input-Gigawords = 0
Acct-Input-Packets = 862
Acct-Output-Octets = 6912
Acct-Output-Gigawords = 0
Acct-Output-Packets = 54
Acct-Status-Type = Stop
Acct-Terminate-Cause = NAS-Request
NAS-Identifier = “NAS-SPLYNX”
Acct-Delay-Time = 0
NAS-IP-Address = 10.0.1.36

This was already fixed in 6.39.2