Have you tested that session->ip_addr.len>0? Can you print the str value for session->ip_addr and see if it is a valid IP?
Then it would be better to use str2ipx(), because it tries internally both ipv4/6.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.