RTMGR can support two Address families - AF_INET and AF_INET6.
Check code for RT_AFI_MAX constant. A client can send %af% less-than RT_AFI_MAX.
Error
Client with ID=%id% is passing invalif AF(%af%).