It's a matter of time. We need this to work in the SMB server before the change to inet_ntop gets rolled out.
There's already a separate bug for inet_ntop: https://www.illumos.org/issues/5980
We can add a note there to take this work-around out if/when 5980 gets fixed.
Thanks for the explanation. The note is great idea. Maybe you should also add a reference to 5980 directly into smb_inet.c.
I agree with Marcel -- mention 5980 by name in the comment.